Use After Free in Libarchive
CVE-2018-1000878
libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.044, 91.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libarchive
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 28, 29, 30
- openSUSE Leap — versions 15.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (revl-ca/scan-docker-image). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3859-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20181221 [SECURITY] [DLA 1612-1] libarchive security update (mailing-list, Third Party Advisory)
- bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909 (Patch, Third Party Advisory)
- DSA-4360 (vendor-advisory, Third Party Advisory)
- github.com/libarchive/libarchive/pull/1105 (Third Party Advisory)
- www.securityfocus.com/bid/106324 (Third Party Advisory, VDB Entry, vdb-entry)
- github.com/libarchive/libarchive/pull/1105/commits/bfcfe6f04ed20db2504db8a254d1… (Patch, Third Party Advisory)
- FEDORA-2019-0233ec0ff3 (vendor-advisory)
- FEDORA-2019-fbe83d0e32 (vendor-advisory)
- FEDORA-2019-c595a93536 (vendor-advisory)