Skip to content
OpenAdvisories
Unscored CVE-2018-1000877 EUVD-2018-2054GHSA-rfww-wwgq-55v3

libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnera…

Published Dec 20, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libarchive 3.3.3-2 —
Debian 13 libarchive 3.3.3-2 —
Debian 12 libarchive 3.3.3-2 —
Debian 9 libarchive 3.2.2-2+deb9u1 DSA-4360-1
Debian 8 libarchive 3.1.2-11+deb8u6 DLA-1612-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libarchive 3.2.2-3.1ubuntu0.2 USN-3859-1
Ubuntu 16.04 LTS libarchive 3.1.2-11ubuntu0.16.04.5 USN-3859-1
Ubuntu 14.04 LTS libarchive 3.1.2-7ubuntu2.7 USN-3859-1
ReleasePackageFixed inAdvisory
RHEL 8 bsdtar +2 3.3.2-7.el8 RHSA-2019:3698
RHEL 7 bsdtar +3 3.1.2-12.el7 RHSA-2019:2298
ReleasePackageFixed inAdvisory
SLES 15 SP1 libarchive 3.3.2-3.11.1 SUSE-SU-2019:3093-1
SLES 15 libarchive 3.3.2-3.8.4 SUSE-SU-2019:3093-1, SUSE-SU-2019:0831-1
SLES 12 SP5 libarchive 3.1.2-26.6.1 SUSE-SU-2019:3092-1
SLES 12 SP4 libarchive 3.1.2-26.6.1 SUSE-SU-2019:3092-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 libarchive 3.1.2-26.6.1 SUSE-SU-2019:3092-1
SLES for SAP 12 SP4 libarchive 3.1.2-26.6.1 SUSE-SU-2019:3092-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bsdtar 3.5.1-1.5 openSUSE-SU-2024:10925-1
openSUSE Leap 15.1 libarchive 3.3.2-lp151.5.3.1 openSUSE-SU-2019:2632-1
openSUSE Leap 15.0 libarchive 3.3.2-lp150.7.1 openSUSE-SU-2019:2615-1, openSUSE-SU-2019:1196-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 bsdtar +3 3.1.2-12.amzn2 ALAS2-2019-1325

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 bsdtar +2 3.3.2-7.el8 ELSA-2019-3698
Oracle Linux 7 bsdtar +3 3.1.2-12.el7 ELSA-2019-2298

Advisories 16

References