1. CVE archive
  2. 2012
  3. CVE-2012-3406

CVE-2012-3406

6.8 Medium severity CVSS v2.0 · source NVD AV:N/AC:M/Au:N/C:P/I:P/A:P 6.8 – Medium

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.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 8.04 –
canonical ubuntu linux 10.04 –
canonical ubuntu linux 11.04 –
canonical ubuntu linux 11.10 –
canonical ubuntu linux 12.04 –
gnu glibc 2.5 –
gnu glibc 2.12 –
redhat enterprise linux 5 –
redhat enterprise linux 6.0 –
redhat enterprise virtualization 3.0 –
All 163 Gnu Glibc vulnerabilities

Vulnerability type

CWE-264 Permissions, Privileges, and Access Controls

Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.

Broad category: NVD uses it when it does not assign a more specific type.

All 5,272 CWE-264 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org