Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libarchive | Libarchive | < 3.5.2 |
| Fedoraproject | Fedora | 35 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux Eus | 8.6 |
| Redhat | Enterprise Linux For Ibm Z Systems | 8.0 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.6 |
| Redhat | Enterprise Linux For Power Little Endian | 8.0 |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.6 |
| Redhat | Enterprise Linux Server Aus | 8.6 |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 8.6 |
| Redhat | Enterprise Linux Server Tus | 8.6 |
| Redhat | Codeready Linux Builder | - |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2021-23177Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245Issue TrackingPatchThird Party Advisory
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483PatchThird Party Advisory
- https://github.com/libarchive/libarchive/issues/1565Issue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-23177Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245Issue TrackingPatchThird Party Advisory
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483PatchThird Party Advisory
- https://github.com/libarchive/libarchive/issues/1565Issue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2021-23177?
CVE-2021-23177 is a vulnerability with a CVSS score of 7.8 (HIGH). 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,...
How severe is CVE-2021-23177?
CVE-2021-23177 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23177?
Check the references section above for vendor advisories and patch information. Affected products include: Libarchive Libarchive, Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux For Ibm Z Systems.