CVE-2018-1000877
Fixed in a distro release EPSS 5%
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.
Products: libarchive, debian_linux, canonical ubuntu_linux, fedoraproject fedora, redhat enterprise_linux_desktop, redhat enterprise_linux_server, redhat enterprise_linux_workstation
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2 | bsdcpio | 3.1.2-12.amzn2 |
| Amazon Linux 2 | bsdtar | 3.1.2-12.amzn2 |
| Amazon Linux 2 | libarchive | 3.1.2-12.amzn2 |
| Amazon Linux 2 | libarchive-devel | 3.1.2-12.amzn2 |
| Arch Linux | libarchive | 3.4.0-1 |
| Debian 12 | libarchive | 3.3.3-2 |
| Debian 13 | libarchive | 3.3.3-2 |
| Debian 14 | libarchive | 3.3.3-2 |
| Debian 8 | libarchive | 3.1.2-11+deb8u6 |
| Debian 9 | libarchive | 3.2.2-2+deb9u1 |
| Red Hat Enterprise Linux 7 | bsdcpio | 0:3.1.2-12.el7 |
| Red Hat Enterprise Linux 7 | bsdtar | 0:3.1.2-12.el7 |
| Red Hat Enterprise Linux 7 | libarchive | 0:3.1.2-12.el7 |
| Red Hat Enterprise Linux 7 | libarchive-debuginfo | 0:3.1.2-12.el7 |
| Red Hat Enterprise Linux 7 | libarchive-devel | 0:3.1.2-12.el7 |
| Red Hat Enterprise Linux 8 | bsdcat-debuginfo | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | bsdcpio-debuginfo | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | bsdtar | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | bsdtar-debuginfo | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | libarchive | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | libarchive-debuginfo | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | libarchive-debugsource | 0:3.3.2-7.el8 |
| Red Hat Enterprise Linux 8 | libarchive-devel | 0:3.3.2-7.el8 |
| SUSE Linux Enterprise Desktop 12 SP4 | libarchive | 3.1.2-26.6.1 |
| SUSE Linux Enterprise Module for Basesystem 15 | libarchive | 3.3.2-3.11.1 |
| SUSE Linux Enterprise Module for Basesystem 15 | libarchive | 3.3.2-3.8.4 |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | libarchive | 3.3.2-3.11.1 |
| SUSE Linux Enterprise Module for Development Tools 15 | libarchive | 3.3.2-3.11.1 |
| SUSE Linux Enterprise Module for Development Tools 15 | libarchive | 3.3.2-3.8.4 |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | libarchive | 3.3.2-3.11.1 |
| SUSE Linux Enterprise Server 12 SP4 | libarchive | 3.1.2-26.6.1 |
| SUSE Linux Enterprise Server 12 SP5 | libarchive | 3.1.2-26.6.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | libarchive | 3.1.2-26.6.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | libarchive | 3.1.2-26.6.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP4 | libarchive | 3.1.2-26.6.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | libarchive | 3.1.2-26.6.1 |
| Ubuntu 14.04 LTS | libarchive | 3.1.2-7ubuntu2.7 |
| Ubuntu 16.04 LTS | libarchive | 3.1.2-11ubuntu0.16.04.5 |
| Ubuntu 18.04 LTS | libarchive | 3.2.2-3.1ubuntu0.2 |
| openSUSE Leap 15.0 | libarchive | 3.3.2-lp150.10.1 |
| openSUSE Leap 15.0 | libarchive | 3.3.2-lp150.7.1 |
| openSUSE Leap 15.1 | libarchive | 3.3.2-lp151.5.3.1 |
| openSUSE Tumbleweed | bsdtar | 3.5.1-1.5 |