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
Link | Resource |
---|---|
https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043 | Patch Third Party Advisory |
https://access.redhat.com/security/cve/CVE-2021-31566 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2024237 | Issue Tracking Patch Third Party Advisory |
https://github.com/libarchive/libarchive/issues/1566 | Issue Tracking Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html | Mailing List Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
AND |
|
Configuration 5 (hide)
|
Information
Published : 2022-08-23 09:15
Updated : 2022-12-03 06:16
NVD link : CVE-2021-31566
Mitre link : CVE-2021-31566
JSON object : View
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
Products Affected
redhat
- enterprise_linux_for_power_little_endian
- enterprise_linux
- enterprise_linux_server_aus
- enterprise_linux_for_ibm_z_systems
- codeready_linux_builder
- enterprise_linux_for_ibm_z_systems_eus
- enterprise_linux_server_tus
- enterprise_linux_for_power_little_endian_eus
- enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
- enterprise_linux_eus
fedoraproject
- fedora
debian
- debian_linux
libarchive
- libarchive