CVE-2021-41495
Last modified
CVE-2021-41495 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 1.15% chance of exploitation in the next 30 days.
Description
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
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Numpy | Numpy | <= 1.19.0 |
References
- https://github.com/numpy/numpy/issues/19038Exploit, Issue Tracking, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlThird Party Advisory
- https://github.com/numpy/numpy/issues/19038Exploit, Issue Tracking, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41495?
How severe is CVE-2021-41495?
How do I fix CVE-2021-41495?
Are you affected by CVE-2021-41495?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
