UNIX symbolic link following in libarchive - CVE-2021-31566

 

UNIX symbolic link following in libarchive - CVE-2021-31566

Published: March 15, 2022


Vulnerability identifier: #VU61394
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-31566
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
libarchive
Software vendor:
libarchive

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue when extracting files from the archive. A local user can create a specially crafted symbolic link to a critical file on the system, place it into an archive and modify modes, times, access control lists, and flags of a file outside of the archive.



Remediation

Install updates from vendor's website.

External links