CVE-2021-3420

Name
CVE-2021-3420
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Broken Link https://bugzilla.redhat.com/show_bug.cgi?id=1934088
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LSQZEUANAWBBAOC4TF5PTPJVLMUR7SFD/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AEBF6YHWFNCBW5A2ENSQ3Z56ELF4MTRE/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMK54N6UOPBFFX2YT32TWSAEFTHGSKAA/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:newlib_project:newlib:*:*:*:*:*:*:*:* newlib >= None < 4.0.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
newlib 3.14-community 4.1.0-r0 Marian Buschsieweke <marian.buschsieweke@ovgu.de> fixed