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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41472SQL injection vulnerability in Sourcecodester Simple Members…9.8
- CVE-2021-4148A vulnerability was found in the Linux kernel's block_invali…5.5
- CVE-2021-41487NOKIA VitalSuite SPM 2020 is affected by SQL injection throu…9.8
- CVE-2021-4149A vulnerability was found in btrfs_alloc_tree_b in fs/btrfs/…5.5
- CVE-2021-41490Memory leaks in LazyPRM.cpp of OMPL v1.5.0 can cause unexpec…7.5
- CVE-2021-41492Multiple SQL Injection vulnerabilities exist in Sourcecodest…9.8
- CVE-2021-41496Buffer overflow in the array_from_pyobj function of fortrano…5.5
- CVE-2021-41497Null pointer reference in CMS_Conservative_increment_obj in …7.5
- CVE-2021-41498Buffer overflow in ajaxsoundstudio.com Pyo < and 1.03 in t…7.5
- CVE-2021-41499Buffer Overflow Vulnerability exists in ajaxsoundstudio.com …7.5
- CVE-2021-4150A use-after-free flaw was found in the add_partition in bloc…5.5
- CVE-2021-41500Incomplete string comparison vulnerability exits in cvxopt.o…7.5
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
