CVE-2021-31566 — Link Following in Libarchive
Severity
7.8HIGHNVD
EPSS
0.0%
top 88.56%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 23
Latest updateAug 24
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9
Affected Packages5 packages
Also affects: Debian Linux 10.0, Fedora 35, Enterprise Linux 8.0, 8.6
Patches
🔴Vulnerability Details
4GHSA▶
GHSA-mg62-fpgc-6hjj: An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file out↗2022-08-24
CVEList▶
CVE-2021-31566: An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file out↗2022-08-23
OSV▶
CVE-2021-31566: An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file out↗2022-08-23