Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1612-1, DSA-4360-1 |
Debian Bugs | 916964 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libarchive (PTS) | jessie, jessie (lts) | 3.1.2-11+deb8u11 | fixed |
stretch (security) | 3.2.2-2+deb9u3 | fixed | |
stretch (lts), stretch | 3.2.2-2+deb9u4 | fixed | |
buster (security), buster, buster (lts) | 3.3.3-4+deb10u3 | fixed | |
bullseye | 3.4.3-2+deb11u1 | fixed | |
bookworm (security), bookworm | 3.6.2-1+deb12u1 | fixed | |
trixie | 3.7.4-1 | fixed | |
sid | 3.7.4-1.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libarchive | source | wheezy | (not affected) | |||
libarchive | source | jessie | 3.1.2-11+deb8u6 | DLA-1612-1 | ||
libarchive | source | stretch | 3.2.2-2+deb9u1 | DSA-4360-1 | ||
libarchive | source | (unstable) | 3.3.3-2 | 916964 |
https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909
https://github.com/libarchive/libarchive/pull/1105
Introduced after: https://github.com/libarchive/libarchive/commit/416694915449219d505531b1096384f3237dd6cc
Fixed by: https://github.com/libarchive/libarchive/commit/021efa522ad729ff0f5806c4ce53e4a6cc1daa31