CVE-2019-1000019
libarchive version commit bf9aec176c6748f0ee7a678c5f9f9555b9a757c1 onwards (release v3.0.2 onwards) contains a CWE-125: Out-of-bounds Read vulnerability in 7zip decompression, archive_read_support_format_7zip.c, header_bytes() that can result in a crash (denial of service). This attack appears to be exploitable via the victim opening a specially crafted 7zip file.
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 18.04 | libarchive | Fixed | 3.2.2-3.1ubuntu0.3 | UBUNTU-CVE-2019-1000019 |
| Ubuntu 16.04 | libarchive | Fixed | 3.1.2-11ubuntu0.16.04.6 | UBUNTU-CVE-2019-1000019 |
| Ubuntu 14.04 | libarchive | Fixed | 3.1.2-7ubuntu2.8 | UBUNTU-CVE-2019-1000019 |
| Debian 14 | libarchive | Fixed | 3.3.3-4 | DEBIAN-CVE-2019-1000019 |
| Debian 13 | libarchive | Fixed | 3.3.3-4 | DEBIAN-CVE-2019-1000019 |
| Debian 12 | libarchive | Fixed | 3.3.3-4 | DEBIAN-CVE-2019-1000019 |
| Red Hat Enterprise Linux 8 | bsdtar | Fixed | 0:3.3.2-7.el8 | RHSA-2019:3698 |
| Red Hat Enterprise Linux 8 | libarchive | Fixed | 0:3.3.2-7.el8 | RHSA-2019:3698 |
| Red Hat Enterprise Linux 8 | libarchive-devel | Fixed | 0:3.3.2-7.el8 | RHSA-2019:3698 |
| Red Hat Enterprise Linux 7 | bsdcpio | Fixed | 0:3.1.2-12.el7 | RHSA-2019:2298 |
| Red Hat Enterprise Linux 7 | bsdtar | Fixed | 0:3.1.2-12.el7 | RHSA-2019:2298 |
| Red Hat Enterprise Linux 7 | libarchive | Fixed | 0:3.1.2-12.el7 | RHSA-2019:2298 |
| Red Hat Enterprise Linux 7 | libarchive-devel | Fixed | 0:3.1.2-12.el7 | RHSA-2019:2298 |
| 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:
- https://usn.ubuntu.com/3884-1/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00055.html (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:2298 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:3698 (vendor-advisory)
References
- https://github.com/libarchive/libarchive/pull/1120
- https://usn.ubuntu.com/3884-1/
- https://lists.debian.org/debian-lts-announce/2019/02/msg00013.html
- https://github.com/libarchive/libarchive/pull/1120/commits/65a23f5dbee4497064e9bb467f81138a62b0dae1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00055.html
- https://access.redhat.com/errata/RHSA-2019:2298
- https://access.redhat.com/errata/RHSA-2019:3698
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00012.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00015.html
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.