Vulnerability · Published Dec 17, 2021 · Assigned by mitre

CVE-2021-41495

Medium 5.3

In plain English

A medium-severity security flaw in the numpy package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)1.2%top 30.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12numpyno fix listedDEBIAN-CVE-2021-41495
Debian:13numpyno fix listedDEBIAN-CVE-2021-41495
Debian:14numpyno fix listedDEBIAN-CVE-2021-41495
PyPInumpy1.19GHSA-5545-2q6w-2gh6
PyPInumpy1.19.1PYSEC-2021-856
Ubuntu:22.04:LTSnumpy1:1.21.5-1ubuntu22.04.1USN-5763-1
Ubuntu:22.04:LTSnumpy1:1.21.5-1ubuntu22.04.1UBUNTU-CVE-2021-41495

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References