CVE-2015-8924: Medium severity Libarchive libarchive vulnerability
The archivereadformattarreadheader function in archivereadsupportformattar.c in libarchive before 3.2.0 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted tar file.
Other sources
Upstream bug: https://github.com/libarchive/libarchive/issues/515
Upstream fix: https://github.com/libarchive/libarchive/commit/bb9b157
Tar reader tries to examine last character of an empty filename
libarchive-2.8 does not appear to be vulnerable in the same way, as it rejects the invalid archive early.
— Red Hat
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-8924?
CVE-2015-8924 has been classified as a denial of service vulnerability causing out-of-bounds read issues.
How do I fix CVE-2015-8924?
To fix CVE-2015-8924, upgrade libarchive to version 3.2.0 or later.
What type of attack does CVE-2015-8924 enable?
CVE-2015-8924 allows remote attackers to perform denial of service attacks through crafted tar files.
Which versions of libarchive are affected by CVE-2015-8924?
Libarchive versions before 3.2.0 are affected by CVE-2015-8924.
What systems are known to be affected by CVE-2015-8924?
CVE-2015-8924 affects various SUSE Linux and Ubuntu versions, primarily before their respective patches were applied.