Stack-based buffer overflow in GNU C Library (glibc) - CVE-2012-4424

 

Stack-based buffer overflow in GNU C Library (glibc) - CVE-2012-4424

Published: October 10, 2013 / Updated: August 10, 2020


Vulnerability identifier: #VU42479
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4424
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

GNU C Library (glibc)
Gentoo Linux
Slackware Linux
glibc
glibc-i18n
glibc-profile
glibc-solibs
sys-libs/glibc

How to mitigate CVE-2012-4424

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

glibc - update to 2.17
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

Related Security Bulletins