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

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

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Numpy Numpy * 1.19.0 (including)
Red Hat OpenStack Platform 16.1 RedHat numpy-1:1.17.0-11.el8ost *
Red Hat OpenStack Platform 16.2 RedHat numpy-1:1.17.0-11.el8ost *
Numpy Ubuntu focal *
Numpy Ubuntu hirsute *
Numpy Ubuntu impish *
Numpy Ubuntu jammy *
Numpy Ubuntu kinetic *
Numpy Ubuntu trusty *
Numpy Ubuntu upstream *
Numpy Ubuntu xenial *

Potential Mitigations

References