Stack-based buffer overflow in GNU C Library (glibc) - CVE-2012-4424
Published: October 10, 2013 / Updated: August 10, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing a long string that triggers a malloc failure and use of the alloca function. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Slackware Linux
glibc
glibc-i18n
glibc-profile
glibc-solibs
sys-libs/glibc
How to mitigate CVE-2012-4424
glibc-i18n - update to 2.17
glibc-profile - update to 2.17
glibc-solibs - update to 2.17
sys-libs/glibc - update to 2.19-r1
External References
- http://sourceware.org/bugzilla/show_bug.cgi?id=14547
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:283
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:284
- http://www.openwall.com/lists/oss-security/2012/09/13/16
- http://www.ubuntu.com/usn/USN-1991-1
- https://bugzilla.redhat.com/show_bug.cgi?id=858238
- https://security.gentoo.org/glsa/201503-04