high7.8
CVE-2021-31566
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 t…
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Libarchive | Libarchive | before 3.5.2 |
| Fedoraproject | Fedora | Version 35 |
| Redhat | Enterprise Linux | Version 8.0 |
| Redhat | Enterprise Linux Eus | Version 8.6 |
| Redhat | Enterprise Linux For Ibm Z Systems | Version 8.0 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | Version 8.6 |
| Redhat | Enterprise Linux For Power Little Endian | Version 8.0 |
| Redhat | Enterprise Linux For Power Little Endian Eus | Version 8.6 |
| Redhat | Enterprise Linux Server Aus | Version 8.6 |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | Version 8.6 |
| Redhat | Enterprise Linux Server Tus | Version 8.6 |
| Redhat | Codeready Linux Builder | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- https://access.redhat.com/security/cve/CVE-2021-31566
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
- https://github.com/libarchive/libarchive/issues/1566
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
- https://access.redhat.com/security/cve/CVE-2021-31566
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
- https://github.com/libarchive/libarchive/issues/1566
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html