Name | CVE-2016-4302 |
Description | Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary. |
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-554-1, DSA-3657-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libarchive (PTS) | jessie, jessie (lts) | 3.1.2-11+deb8u12 | fixed |
| stretch (security) | 3.2.2-2+deb9u3 | fixed |
| stretch (lts), stretch | 3.2.2-2+deb9u5 | fixed |
| buster, buster (lts) | 3.3.3-4+deb10u4 | fixed |
| buster (security) | 3.3.3-4+deb10u3 | fixed |
| bullseye | 3.4.3-2+deb11u1 | fixed |
| bullseye (security) | 3.4.3-2+deb11u2 | fixed |
| bookworm | 3.6.2-1+deb12u1 | fixed |
| bookworm (security) | 3.6.2-1+deb12u2 | fixed |
| sid, trixie | 3.7.4-1.1 | fixed |
The information below is based on the following data on fixed versions.
Notes
http://blog.talosintel.com/2016/06/the-poisoned-archives.html
http://www.talosintel.com/reports/TALOS-2016-0154/
https://github.com/libarchive/libarchive/issues/719
Fixed by: https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 (v3.2.1)