Name | CVE-2021-36976 |
Description | libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 991442 |
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 | vulnerable |
| 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.
Notes
[bullseye] - libarchive <no-dsa> (Minor issue)
[buster] - libarchive <not-affected> (Vulnerable code introduced by 47bb818 in version 3.4.1)
[stretch] - libarchive <not-affected> (Vulnerable code introduced by 47bb818 in version 3.4.1)
https://github.com/libarchive/libarchive/issues/1554
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml
Introduced by: https://github.com/libarchive/libarchive/commit/47bb8187d3ef2d49ee8c7841cb2872b3cfa1f6f7 (v3.4.1)
Fixed by: https://github.com/libarchive/libarchive/commit/17f4e83c0f0fc3bacf4b2bbacb01f987bb5aff5f (v3.6.0)
[jessie] - libarchive <not-affected> (Vulnerable code introduced later in v3.4.1)