Input validation error in GNU C Library (glibc) - CVE-2012-0864

 

Input validation error in GNU C Library (glibc) - CVE-2012-0864

Published: May 2, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU42853
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2012-0864
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.


Affected software

GNU C Library (glibc)
Amazon Linux AMI
Ubuntu
libc6 (Ubuntu package)
libc-bin (Ubuntu package)

How to mitigate CVE-2012-0864

Install update from vendor's website.

libc6 (Ubuntu package) - addressed in versions 2.7-10ubuntu8.1, 2.11.1-0ubuntu7.10, 2.12.1-0ubuntu10.4, 2.13-0ubuntu13.1, 2.13-20ubuntu5.1
libc-bin (Ubuntu package) - addressed in versions 2.11.1-0ubuntu7.10, 2.12.1-0ubuntu10.4

External References

Related Security Bulletins