Use-after-free in libarchive - CVE-2019-18408
Published: October 29, 2019
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error within the archive_read_format_rar_read_data() function in archive_read_support_format_rar.c in libarchive when handling certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol. A remote attacker can create a specially crafted archive, pass it to the affected application trigger a use-after-free error and crash the application or execute arbitrary code on the target system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for x86_64
Opensuse
Fedora
libarchive (Alpine package)
libarchive (Ubuntu package)
libarchive (Debian package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
libarchive
Data Computing Appliance (DCA)
How to mitigate CVE-2019-18408
libarchive (Alpine package) - addressed in versions 3.3.3-r1, 3.4.2-r0
libarchive (Ubuntu package) - addressed in versions 3.1.2-11ubuntu0.16.04.7, 3.2.2-3.1ubuntu0.5, 3.3.3-4ubuntu0.1
libarchive (Debian package) - addressed in versions 3.2.2-2+deb9u2, 3.3.3-4+deb10u1
libarchive - addressed in versions 3.3.3-7.fc29, 3.3.3-7.fc30
Data Computing Appliance (DCA) - update to 4.3.0.0
External References
Related Security Bulletins
- Remote code execution in libarchive
- Ubuntu update for libarchive
- Debian update for libarchive
- OpenSUSE Linux update for libarchive
- OpenSUSE Linux update for libarchive
- Red Hat update for libarchive
- Red Hat update for libarchive
- Red Hat update for libarchive
- Amazon Linux AMI update for libarchive
- Gentoo update for libarchive
- Use-after-free in libarchive (Alpine package)
- Multiple vulnerabilities in Dell EMC Data Computing Appliance (DCA)
- Fedora 30 update for libarchive
- Fedora 29 update for libarchive