ArchLinux: 201412-21: glibc: arbitrary code execution
Summary
- CVE-2012-3406 (arbitrary code execution)
The vfprintf function in stdio-common/vfprintf.c in GNU C Library 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.
- CVE-2014-9402 (denial of service)
The nss_dns getnetbyname function will enter an infinite loop if the DNS
backend is activated in the system Name Service Switch configuration and
the DNS resolver receives a positive answer while processing the network
name.
Resolution
Upgrade to 2.20-5.
# pacman -Syu "glibc>=2.20-5"
# pacman -Syu "lib32-glibc>=2.20-5"
The problems have been fixed upstream but no release is available yet.
References
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-3406 https://access.redhat.com/security/cve/CVE-2014-9402 https://sourceware.org/bugzilla/show_bug.cgi?id=17630 https://www.openwall.com/lists/oss-security/2014/12/18/1
Workaround
None.