First published: Wed Jun 20 2012(Updated: )
It was discovered that the formatted printing functionality in glibc did not properly honor the size of a structure when calculating the amount of memory to allocate. A remote attacker could provide a specially crafted sequence of format specifiers, leading to an undersized buffer allocation and subsequent stack corruption, resulting in a crash or, potentially, FORTIFY_SOURCE format string protection mechanism bypass, when processed. References: <a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12445">http://sourceware.org/bugzilla/show_bug.cgi?id=12445</a> <a href="http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=84a4211850e3d23a9d3a4f3b294752a3b30bc0ff">http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=84a4211850e3d23a9d3a4f3b294752a3b30bc0ff</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
GNU C Library (glibc) | =2.12 | |
Red Hat Enterprise Virtualization | =3.0 | |
Ubuntu | =8.04 | |
Ubuntu | =10.04 | |
Ubuntu | =11.04 | |
Ubuntu | =11.10 | |
Ubuntu | =12.04 | |
Red Hat Enterprise Linux | =6.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2012-3404 is classified as high due to the potential for remote code execution.
To fix CVE-2012-3404, update the GNU C Library (glibc) to a version that includes the security patch.
CVE-2012-3404 affects versions of glibc 2.12 and certain versions of Red Hat and Ubuntu Linux.
Yes, CVE-2012-3404 can lead to a buffer overflow due to improper memory allocation when handling formatted printing.
At the time of its disclosure, CVE-2012-3404 was considered a potential target for exploitation, and users were advised to mitigate risks promptly.