Vulnerability · Published Jul 20, 2021 · Assigned by mitre
CVE-2021-36976
Medium 6.5
In plain English
A medium-severity security flaw in the libarchive package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.8%top 13.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libarchive | 3.6.0-r0 | ALPINE-CVE-2021-36976 |
| Alpine:v3.21 | libarchive | 3.6.0-r0 | ALPINE-CVE-2021-36976 |
| Alpine:v3.22 | libarchive | 3.6.0-r0 | ALPINE-CVE-2021-36976 |
| Alpine:v3.23 | libarchive | 3.6.0-r0 | ALPINE-CVE-2021-36976 |
| Alpine:v3.24 | libarchive | 3.6.0-r0 | ALPINE-CVE-2021-36976 |
| Debian:12 | libarchive | 3.6.0-1 | DEBIAN-CVE-2021-36976 |
| Debian:13 | libarchive | 3.6.0-1 | DEBIAN-CVE-2021-36976 |
| Debian:14 | libarchive | 3.6.0-1 | DEBIAN-CVE-2021-36976 |
| Ubuntu:22.04:LTS | libarchive | 3.5.2-1ubuntu1 | UBUNTU-CVE-2021-36976 |
Affected products (as reported)
References
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml x_refsource_MISC
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375 x_refsource_MISC
- FEDORA-2022-9bb794c5f5 vendor-advisory, x_refsource_FEDORA
- https://support.apple.com/kb/HT213183 x_refsource_CONFIRM
- https://support.apple.com/kb/HT213182 x_refsource_CONFIRM
- https://support.apple.com/kb/HT213193 x_refsource_CONFIRM
- 20220314 APPLE-SA-2022-03-14-2 watchOS 8.5 mailing-list, x_refsource_FULLDISC
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 mailing-list, x_refsource_FULLDISC
- 20220314 APPLE-SA-2022-03-14-1 iOS 15.4 and iPadOS 15.4 mailing-list, x_refsource_FULLDISC
- GLSA-202208-26 vendor-advisory, x_refsource_GENTOO
- https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html