CVE Vulnerabilities

CVE-2021-41495

NULL Pointer Dereference

Published: Dec 17, 2021 | Modified: Nov 21, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
3.5 LOW
AV:N/AC:M/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
NumpyNumpy*1.19.0 (including)
Red Hat OpenStack Platform 16.1RedHatnumpy-1:1.17.0-11.el8ost*
Red Hat OpenStack Platform 16.2RedHatnumpy-1:1.17.0-11.el8ost*
NumpyUbuntuesm-infra/focal*
NumpyUbuntufocal*
NumpyUbuntuhirsute*
NumpyUbuntuimpish*
NumpyUbuntujammy*
NumpyUbuntukinetic*
NumpyUbuntutrusty*
NumpyUbuntuupstream*
NumpyUbuntuxenial*

Potential Mitigations

References