CVE-2021-23177
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | libarchive | Fixed in libarchive 3.5.2 | affected |
Weaknesses
- CWE-59: CWE-59 - Improper Link Resolution Before File Access ('Link Following')
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/libarchive/libarchive/issues/1565
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245
- https://access.redhat.com/security/cve/CVE-2021-23177
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
References
- https://github.com/libarchive/libarchive/issues/1565
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245
- https://access.redhat.com/security/cve/CVE-2021-23177
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.