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.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Link | Tags |
---|---|
https://github.com/libarchive/libarchive/issues/1565 | patch third party advisory issue tracking |
https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad | third party advisory patch |
https://bugzilla.redhat.com/show_bug.cgi?id=2024245 | patch third party advisory issue tracking |
https://access.redhat.com/security/cve/CVE-2021-23177 | third party advisory |
https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html | third party advisory mailing list |