ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-41495

numpy: NULL pointer dereference in numpy.sort in in the PyArray_DescrNew() due to missing return-value validation

Moderate No fix available CVE-2021-41495

Details

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. NOTE: While correct that validation is missing, an error can only occur due to an exhaustion of memory. If the user can exhaust memory, they are already privileged. Further, it should be practically impossible to construct an attack which can target the memory exhaustion to occur at exactly this place

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6numpy
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6numpy-f2py
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7numpy
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7numpy-f2py
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8numpy
All versions, will not be fixed
Red Hat:enterprise_linux:8python3-numpy
All versions, will not be fixed
Red Hat:enterprise_linux:8python3-numpy-f2py
All versions, will not be fixed

References