
CVE catalog
CVE-2021-23177
libarchive: CVE-2021-23177
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.39% · Oct 25, 2026
An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of the target of the link. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to change the ACL of a file on the system and gain more privileges.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | fixed |
| Debian | libarchive | forky | 3.8.9-1 | fixed |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | fixed |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | fixed |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | fixed |
| Ubuntu | libarchive | pro | 3.2.2-3.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm2 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm3 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.1 | fixed |
| Ubuntu | libarchive | 20.04 | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.1 | fixed |
| Suse | libarchive | linux enterprise module for basesystem 15 sp3 | 3.4.2-150200.4.9.1 | fixed |
| Suse | libarchive | linux enterprise module for development tools 15 sp3 | 3.4.2-150200.4.9.1 | fixed |
| Opensuse | libarchive | leap 15.3 | 3.4.2-150200.4.9.1 | fixed |
| Suse | libarchive | linux enterprise module for basesystem 15 sp4 | 3.5.1-150400.3.6.1 | fixed |
| Suse | libarchive | linux enterprise module for development tools 15 sp4 | 3.5.1-150400.3.6.1 | fixed |
| Opensuse | libarchive | leap 15.4 | 3.5.1-150400.3.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.5.2-1 | not yet assigned | Not reported | [1001986] |
| Debian | libarchive | source | forky | 3.5.2-1 | not yet assigned | Not reported | [1001986] |
| Debian | libarchive | source | trixie | 3.5.2-1 | not yet assigned | Not reported | [1001986] |
| Debian | libarchive | source | bookworm | 3.5.2-1 | not yet assigned | Not reported | [1001986] |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-2ubuntu1.1 | Not reported | UBUNTU-CVE-2021-23177 | Not reported |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-2ubuntu1.1 | Not reported | USN-5291-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for basesystem 15 sp3 | 3.4.2-150200.4.9.1 | Not reported | SUSE-SU-2022:3393-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for development tools 15 sp3 | 3.4.2-150200.4.9.1 | Not reported | SUSE-SU-2022:3393-1 | Not reported |
| Opensuse | libarchive | rpm | leap 15.3 | 3.4.2-150200.4.9.1 | Not reported | SUSE-SU-2022:3393-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for basesystem 15 sp4 | 3.5.1-150400.3.6.1 | Not reported | SUSE-SU-2022:3306-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for development tools 15 sp4 | 3.5.1-150400.3.6.1 | Not reported | SUSE-SU-2022:3306-1 | Not reported |
| Opensuse | libarchive | rpm | leap 15.4 | 3.5.1-150400.3.6.1 | Not reported | SUSE-SU-2022:3306-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.5.2-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.5.2-1dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.5.2-1dsa · libarchive · debian · 13
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.5.2-1dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.5.2-1dsa · libarchive · debian · 13
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.5.2-1dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.5.2-1dsa · libarchive · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2022:0892]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_0892.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23177]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3306-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3393-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-23177]
- [https://osv.dev/vulnerability/USN-5291-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-23177]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-1130.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]