CVE-2018-1000877
Description
libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.
How to fix
- libarchive libarchive3.4.0 or later
- usn.ubuntu.com/3859-1/
- debian.org/security/2018/dsa-4360
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W645KCLWFDBDGFJHG57WOVXGE62QSIJI/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/
- access.redhat.com/errata/RHSA-2019:2298
- access.redhat.com/errata/RHSA-2019:3698
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libarchive libarchive | 3.1.0 ≤ v < 3.4.0 | 3.4.0 |
| debian debian_linux | 8.0, 9.0 | — |
| canonical ubuntu_linux | 14.04, 16.04, 18.04, 18.10 | — |
| fedoraproject fedora | 28, 29, 30 | — |
| redhat enterprise_linux_desktop | 7.0 | — |
| redhat enterprise_linux_server | 7.0 | — |
| redhat enterprise_linux_workstation | 7.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.