NULL pointer dereference in Numpy
CVE-2021-41495
Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < 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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.012 (65.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/numpy/numpy/issues/19038 (Exploit, Third Party Advisory, Issue Tracking)
- www.oracle.com/security-alerts/cpujul2022.html (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-41495?
- CVE-2021-41495 is a medium-severity vulnerability in Numpy, classified under NULL Pointer Dereference. CVSS score: 5.3/10. Published 2021-12-17.
- How severe is CVE-2021-41495?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-41495 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.