CVE-2021-41495

Medium

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

SeverityMedium
CVSS5.3
Exploit probability—
ProductNumpy
PublishedDec 17, 2021
First seenDec 17, 2021

How to fix

Update
  • numpy1.19, 1.19.1 or later

Affected products

ProductAffected versionsFixed in
numpy numpyv ≤ 1.19.0—
numpyPyPIv < 1.19, v < 1.19.11.19, 1.19.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.