CVE-2012-3406
Published: 13 July 2012
The vfprintf function in stdio-common/vfprintf.c in GNU C Library (aka glibc) 2.5, 2.12, and probably other versions does not "properly restrict the use of" the alloca function when allocating the SPECS array, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (crash) or possibly execute arbitrary code via a crafted format string using positional parameters and a large number of format specifiers, a different vulnerability than CVE-2012-3404 and CVE-2012-3405.
Notes
Author | Note |
---|---|
sbeattie | bug23-3.c from redhat patch does seem to reproduce issue on all releases |
Priority
Status
Package | Release | Status |
---|---|---|
eglibc Launchpad, Ubuntu, Debian |
hardy |
Does not exist
|
lucid |
Released
(2.11.1-0ubuntu7.11)
|
|
natty |
Released
(2.13-0ubuntu13.2)
|
|
oneiric |
Released
(2.13-20ubuntu5.2)
|
|
precise |
Released
(2.15-0ubuntu10.2)
|
|
upstream |
Needs triage
|
|
glibc Launchpad, Ubuntu, Debian |
hardy |
Released
(2.7-10ubuntu8.2)
|
lucid |
Does not exist
|
|
natty |
Does not exist
|
|
oneiric |
Does not exist
|
|
precise |
Does not exist
|
|
upstream |
Needs triage
|
References
- https://bugzilla.redhat.com/show_bug.cgi?id=826943
- https://bugzilla.redhat.com/attachment.cgi?id=594722&action=diff
- https://bugzilla.redhat.com/attachment.cgi?id=594727&action=diff
- http://www.openwall.com/lists/oss-security/2012/07/11/5
- http://www.openwall.com/lists/oss-security/2012/07/11/17
- https://ubuntu.com/security/notices/USN-1589-1
- https://www.cve.org/CVERecord?id=CVE-2012-3406
- NVD
- Launchpad
- Debian