# CVE-2021-23177: 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: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2022-08-23T00:00:00.000Z
- Modified: 2026-06-17T03:38:23.177Z
- Weaknesses: CWE-59
- 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.

(As written by CVE List.)

## Affected

- libarchive: Fixed in libarchive 3.5.2
- libarchive libarchive: before 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: no versions given
- debian debian_linux: 10.0

## 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

- CVE List: [CVE-2021-23177](https://www.cve.org/CVERecord?id=CVE-2021-23177), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-23177](https://nvd.nist.gov/vuln/detail/CVE-2021-23177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23177 · Whole record: https://cve.day/CVE-2021-23177.json · Rebuilt by cve.day 2026-11-25T22:58:07.769Z
