CVE-2012-3406
medium
CVSS v3
—
CVSS v2
6.8
VIR risk
6.8
Description
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.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-3406
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.19-14 |
| debian | bullseye | fixed | 2.19-14 |
| debian | forky | fixed | 2.19-14 |
| debian | sid | fixed | 2.19-14 |
| debian | trixie | fixed | 2.19-14 |
| rhel | 5 | affected | |
| rhel | 6.0 | affected | |
| ubuntu | 8.04 | affected | |
| ubuntu | 10.04 | affected | |
| ubuntu | 11.04 | affected | |
| ubuntu | 11.10 | affected | |
| ubuntu | 12.04 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnu | glibc | 2.5 | |
| gnu | glibc | 2.12 | |
| redhat | enterprise_virtualization | 3.0 | |
References
- http://rhn.redhat.com/errata/RHSA-2012-1097.html
- http://rhn.redhat.com/errata/RHSA-2012-1098.html
- http://rhn.redhat.com/errata/RHSA-2012-1185.html
- http://rhn.redhat.com/errata/RHSA-2012-1200.html
- http://www.openwall.com/lists/oss-security/2012/07/11/17
- http://www.ubuntu.com/usn/USN-1589-1
- https://bugzilla.redhat.com/attachment.cgi?id=594722
- https://bugzilla.redhat.com/show_bug.cgi?id=826943
- https://security.gentoo.org/glsa/201503-04
- https://security-tracker.debian.org/tracker/CVE-2012-3406
CWEs
CWE-264
Verify integrity in audit chain (admin only). AS-IS.