CVE-2015-8921: High severity Novell Suse Linux Enterprise Software Development Kit vulnerability
An out of bounds read was discovered in the mtree parser. A specially crafted mtree file could cause libarchive to read beyond a statically declared structure. The read was using memcmp(), so data could not be directly exfiltrated by an attacker.
The vulnerable code appears to be reachable through other paths in libarchive-2.8, though the reproducer in the upstream ticket fails to generate a warning.
Upstream bug: https://github.com/libarchive/libarchive/issues/512
Upstream fix: https://github.com/libarchive/libarchive/commit/1cbc76f
Other sources
The aestrtofflags function in archiveentry.c in libarchive before 3.2.0 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted mtree file.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libarchiveto a version that resolves this vulnerability.Fixed in 3.2.0 - Upgrade
Upgrade
debian/libarchiveto a version that resolves this vulnerability.Fixed in 3.0.4-3+wheezy2Fixed in 3.1.2-11+deb8u2Fixed in 3.2.0-2 - Upgrade
Upgrade
libarchiveto a version that resolves this vulnerability.Fixed in 3.2.0
Event History
Frequently Asked Questions
What is the severity of CVE-2015-8921?
CVE-2015-8921 has a medium severity level as it can lead to denial of service due to an out-of-bounds read.
How do I fix CVE-2015-8921?
To fix CVE-2015-8921, upgrade to libarchive version 3.2.0 or later.
Which software is affected by CVE-2015-8921?
CVE-2015-8921 affects libarchive versions up to 3.1.901a and specific versions of SUSE Linux and Ubuntu Linux.
Can CVE-2015-8921 be exploited remotely?
Yes, CVE-2015-8921 can be exploited by remote attackers through crafted mtree files.
What types of attacks does CVE-2015-8921 allow?
CVE-2015-8921 allows for denial of service attacks via an out-of-bounds read.