CVE-2021-23177
libarchive: extracting a symlink with ACLs modifies ACLs of target
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 21, 2021
Updated · November 22, 2025
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 applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
CWE-59 · Improper Link Resolution Before File Access ('Link Following')