Description
An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. 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 gain more privileges in a system.
References (5)
Core 5
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2021-31566
Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2024237
Patch, Third Party Advisory
https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
Issue Tracking, Patch, Third Party Advisory
https://github.com/libarchive/libarchive/issues/1566
Scores
CVSS v3
7.8
EPSS
0.0004
EPSS Percentile
11.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-59
Status
published
Products (15)
debian/debian_linux
10.0
fedoraproject/fedora
35
libarchive/libarchive
< 3.5.2
redhat/codeready_linux_builder
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
... and 5 more
Published
Aug 23, 2022
Tracked Since
Feb 18, 2026