Heap-based buffer overflow in Glibc - CVE-2012-4412

 

Heap-based buffer overflow in Glibc - CVE-2012-4412

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


Vulnerability identifier: #VU42478
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2012-4412
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: GNU
Affected software:
Glibc

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier. A remote attacker can use a long string to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2012-4412

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

Sources