CVE-2015-8931
Multiple integer overflows in the (1) get_time_t_max and (2) get_time_t_min functions in archive_read_support_format_mtree.c in libarchive before 3.2.0 allow remote attackers to have unspecified impact via a crafted mtree file, which triggers undefined behavior.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | libarchive | Fixed | 3.1.2-11ubuntu0.16.04.2 | UBUNTU-CVE-2015-8931 |
| Ubuntu 14.04 | libarchive | Fixed | 3.1.2-7ubuntu2.3 | UBUNTU-CVE-2015-8931 |
| Debian 14 | libarchive | Fixed | 3.2.0-2 | DEBIAN-CVE-2015-8931 |
| Debian 13 | libarchive | Fixed | 3.2.0-2 | DEBIAN-CVE-2015-8931 |
| Debian 12 | libarchive | Fixed | 3.2.0-2 | DEBIAN-CVE-2015-8931 |
| Red Hat Enterprise Linux 7 | bsdcpio | Fixed | 0:3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux 7 | bsdtar | Fixed | 0:3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux 7 | libarchive | Fixed | 0:3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux 7 | libarchive-devel | Fixed | 0:3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux 6 | libarchive | Not affected | ||
| Red Hat Enterprise Linux 6 | libarchive-devel | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/USN-3033-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2016-1844.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00025.html (vendor-advisory)
- https://security.gentoo.org/glsa/201701-03 (vendor-advisory)
- http://www.debian.org/security/2016/dsa-3657 (vendor-advisory)
References
- http://www.ubuntu.com/usn/USN-3033-1
- http://rhn.redhat.com/errata/RHSA-2016-1844.html
- https://blog.fuzzing-project.org/47-Many-invalid-memory-access-issues-in-libarchive.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00025.html
- https://github.com/libarchive/libarchive/issues/539
- http://www.openwall.com/lists/oss-security/2016/06/17/2
- https://security.gentoo.org/glsa/201701-03
- https://security-tracker.debian.org/tracker/CVE-2015-8931
- http://www.openwall.com/lists/oss-security/2016/06/17/5
- http://www.debian.org/security/2016/dsa-3657
- http://www.securityfocus.com/bid/91338
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.