NULL Pointer Dereference Affecting numpy package, versions <1:1.21.5-1ubuntu22.10.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2210-NUMPY-3069986
  • published25 Dec 2021
  • disclosed17 Dec 2021

Introduced: 17 Dec 2021

CVE-2021-41495  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.10 numpy to version 1:1.21.5-1ubuntu22.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream numpy package and not the numpy package as distributed by Ubuntu. See How to fix? for Ubuntu:22.10 relevant fixed versions and status.

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

CVSS Scores

version 3.1