CVE Vulnerabilities

CVE-2012-3406

Published: Feb 10, 2014 | Modified: Apr 22, 2019
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
6.8 MODERATE
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

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.

Affected Software

Name Vendor Start Version End Version
Glibc Gnu 2.5 (including) 2.5 (including)
Glibc Gnu 2.12 (including) 2.12 (including)
Enterprise_virtualization Redhat 3.0 (including) 3.0 (including)
Ubuntu_linux Canonical 8.04 (including) 8.04 (including)
Ubuntu_linux Canonical 10.04 (including) 10.04 (including)
Ubuntu_linux Canonical 11.04 (including) 11.04 (including)
Ubuntu_linux Canonical 11.10 (including) 11.10 (including)
Ubuntu_linux Canonical 12.04 (including) 12.04 (including)
Enterprise_linux Redhat 5 (including) 5 (including)
Enterprise_linux Redhat 6.0 (including) 6.0 (including)
Red Hat Enterprise Linux 5 RedHat glibc-0:2.5-81.el5_8.4 *
Red Hat Enterprise Linux 6 RedHat glibc-0:2.12-1.80.el6_3.3 *
RHEV 3.X Hypervisor and Agents for RHEL-6 RedHat rhev-hypervisor6-0:6.3-20120815.0.el6_3 *
Eglibc Ubuntu devel *
Eglibc Ubuntu lucid *
Eglibc Ubuntu natty *
Eglibc Ubuntu oneiric *
Eglibc Ubuntu precise *
Glibc Ubuntu hardy *

References