Access Restriction Bypass Affecting glibc-common package, versions <0:2.12-1.80.el6_3.3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.32% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-GLIBCCOMMON-2061504
  • published26 Jul 2021
  • disclosed11 Jul 2012

Introduced: 11 Jul 2012

CVE-2012-3406  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Centos:6 glibc-common to version 0:2.12-1.80.el6_3.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc-common package and not the glibc-common package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Scores

version 3.1