CVE-2021-31566
N/A
N/A
Summary
An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. 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 gain more privileges in a system.
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/1566
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237
- https://access.redhat.com/security/cve/CVE-2021-31566
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
References
- https://github.com/libarchive/libarchive/issues/1566
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237
- https://access.redhat.com/security/cve/CVE-2021-31566
- 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.