CVE-2014-6040: Buffer Overflow
Crashes were reported in the IBM code page decoding functions (IBM933, IBM935, IBM937, IBM939, IBM1364):
https://sourceware.org/bugzilla/showbug.cgi?id=17325 https://sourceware.org/ml/libc-alpha/2014-08/msg00473.html
Florian Weimer noted:
"These crashers are out-of-bounds reads at a fixed offset relative to the data segment of a DSO, and in all cases I've seen, they were right in the middle of an unmapped segment of the same DSO. This means that these bugs are just crashers, but they can still result in denial-of-service conditions."
Reference:
http://seclists.org/oss-sec/2014/q3/466
Other sources
GNU C Library (aka glibc) before 2.20 allows context-dependent attackers to cause a denial of service (out-of-bounds read and crash) via a multibyte character value of "0xffff" to the iconv function when converting (1) IBM933, (2) IBM935, (3) IBM937, (4) IBM939, or (5) IBM1364 encoded data to UTF-8.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/glibcto a version that resolves this vulnerability.Fixed in 2.19-12 - Upgrade
Upgrade
debian/eglibcto a version that resolves this vulnerability.Fixed in 2.11.3-4+deb6u2Fixed in 2.13-38+deb7u7 - Upgrade
Upgrade
glibcto a version that resolves this vulnerability.Fixed in 2.20
Event History
Frequently Asked Questions
What is the severity of CVE-2014-6040?
CVE-2014-6040 has been classified as a denial of service vulnerability that can cause application crashes.
How do I fix CVE-2014-6040?
To fix CVE-2014-6040, update the GNU C Library to version 2.20 or later.
What systems are affected by CVE-2014-6040?
CVE-2014-6040 affects versions of the GNU C Library prior to 2.20, including multiple legacy versions.
What kind of attack does CVE-2014-6040 facilitate?
CVE-2014-6040 allows context-dependent attackers to exploit an out-of-bounds read resulting in a denial of service.
Is CVE-2014-6040 commonly exploited?
While CVE-2014-6040 represents a serious risk, it requires specific conditions to be effectively exploited.