CVE-2021-3420
Last modified
CVE-2021-3420 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.. EPSS estimates a 2.10% chance of exploitation in the next 30 days.
Description
A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Newlib Project | Newlib | < 4.0.0 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1934088Broken Link, Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1934088Broken Link, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3420?
How severe is CVE-2021-3420?
How do I fix CVE-2021-3420?
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-34184Miniaudio 0.10.35 has a Double free vulnerability that could…9.8
- CVE-2021-34185Miniaudio 0.10.35 has an integer-based buffer overflow cause…7.8
- CVE-2021-34187main/inc/ajax/model.ajax.php in Chamilo through 1.11.14 allo…9.8
- CVE-2021-3419Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-34190A stored cross site scripting (XSS) vulnerability in index.p…4.8
- CVE-2021-34193Stack overflow vulnerability in OpenSC smart card middleware…7.5
- CVE-2021-34201D-Link DIR-2640-US 1.01B04 is vulnerable to Buffer Overflow.…7.1
- CVE-2021-34202There are multiple out-of-bounds vulnerabilities in some pro…7.8
- CVE-2021-34203D-Link DIR-2640-US 1.01B04 is vulnerable to Incorrect Access…8.1
- CVE-2021-34204D-Link DIR-2640-US 1.01B04 is affected by Insufficiently Pro…6.8
- CVE-2021-34207Cross-site scripting in ddns.htm in TOTOLINK A3002R version …6.1
- CVE-2021-3421A flaw was found in the RPM package in the read functionalit…5.5
Are you affected by CVE-2021-3420?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
