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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | libarchive | Fixed in libarchive 3.5.2 |
References
- https://access.redhat.com/security/cve/CVE-2021-23177Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245Issue Tracking, Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336badPatch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1565Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing List, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-23177Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245Issue Tracking, Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336badPatch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1565Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing List, Third Party Advisory
Timeline
- Published
- Aug 23, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified