Skip to main content
← All vulnerabilities
CVE-2021-41495PYSEC-2021-856GHSA-5545-2Q6W-2GH6

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-val

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.1, 1.19
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • numpyPyPI

    fixed in 1.19.1

  • numpyPyPI

    fixed in 1.19

References 2

GitHub · numpy/numpy

oracle.com