Vulnerabilities · 2021 · Newlib Project
CVE-2021-3420
Newlib Project Newlib vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Newlib, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Newlib Project Newlib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1934088 · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- nvd.nist.gov/vuln/detail/CVE-2021-3420
- cve.org/CVERecord?id=CVE-2021-3420
More vulnerabilities in Newlib Project products
CVE-2024-30949CVE-2019-14878CVE-2019-14877CVE-2019-14876CVE-2019-14875CVE-2019-14874CVE-2019-14873CVE-2019-14872All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.