Name | CVE-2020-21674 |
Description | Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
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+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 | (unstable) | (not affected) | | | |
Notes
- libarchive <not-affected> (Vulnerable code not present in a released version)
https://github.com/libarchive/libarchive/issues/1298
Introduced (around): https://github.com/libarchive/libarchive/commit/3566a5d6ba2458e68c7e42b23f00a57901c6eafb
Fixed by: https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4 (v3.4.1)