Vulnerability record · CVE-2021-23177 · published 23 August 2022
CVE-2021-23177: Libarchive link following vulnerability
Libarchive · Libarchive
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.
Description
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
13 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-23177 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024245 | Issue TrackingPatchThird Party Advisory |
| https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad | PatchThird Party Advisory |
| https://github.com/libarchive/libarchive/issues/1565 | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html | Mailing ListThird Party Advisory |
| https://access.redhat.com/security/cve/CVE-2021-23177 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024245 | Issue TrackingPatchThird Party Advisory |
| https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad | PatchThird Party Advisory |
| https://github.com/libarchive/libarchive/issues/1565 | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html | Mailing ListThird Party Advisory |
Track CVE-2021-23177 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-23177), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.