7.8high
An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of the target of the link.
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libarchive | Fixed in libarchive 3.5.2 | CVE List |
| libarchive libarchive | before 3.5.2 | NVD |
| fedoraproject fedora | 35 | NVD |
| redhat enterprise_linux | 8.0 | NVD |
| redhat enterprise_linux_eus | 8.6 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 8.0 | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.6 | NVD |
| redhat enterprise_linux_for_power_little_endian | 8.0 | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 8.6 | NVD |
| redhat enterprise_linux_server_aus | 8.6 | NVD |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.6 | NVD |
| redhat enterprise_linux_server_tus | 8.6 | NVD |
| redhat codeready_linux_builder | Not specified | NVD |
| debian debian_linux | 10.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Un fallo de resolución de enlaces inapropiado mientras es extraído un archivo puede conllevar a un cambio de la lista de control de acceso (ACL) del objetivo del enlace. Un atacante puede proporcionar un archivo malicioso a un usuario víctima, que desencadenaría este fallo cuando intentara extraer el archivo. Un atacante local puede usar este fallo para cambiar la ACL de un archivo en el sistema y conseguir más privilegios.
References
| https://github.com/libarchive/libarchive/issues/1565 | issue-tracking, patch, third-party-advisory | |
| https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad | patch, third-party-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024245 | issue-tracking, patch, third-party-advisory | |
| https://access.redhat.com/security/cve/CVE-2021-23177 | third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23177 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-23177 changed 2026-06-17 | Public domain |