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

 

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

Published: August 25, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43677
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-3480
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: Public exploit is 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, which triggers a stack-based buffer overflow. 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
Amazon Linux AMI
Ubuntu
Slackware Linux
libc6 (Ubuntu package)
sys-libs/glibc

How to mitigate CVE-2012-3480

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

libc6 (Ubuntu package) - addressed in versions 2.7-10ubuntu8.2, 2.7-10ubuntu8.3, 2.11.1-0ubuntu7.11, 2.13-0ubuntu13.2, 2.13-20ubuntu5.2, 2.15-0ubuntu10.2
sys-libs/glibc - update to 2.19-r1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins