Vulnerability · Published Aug 23, 2022 · Assigned by redhat

CVE-2021-23177

High 7.8

In plain English

A high-severity security flaw in libarchive. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.4%top 66.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bsdtar3.3.3-3.el8_5ALSA-2022:0892
AlmaLinux:8libarchive3.3.3-3.el8_5ALSA-2022:0892
AlmaLinux:8libarchive-devel3.3.3-3.el8_5ALSA-2022:0892
Debian:12libarchive3.5.2-1DEBIAN-CVE-2021-23177
Debian:13libarchive3.5.2-1DEBIAN-CVE-2021-23177
Debian:14libarchive3.5.2-1DEBIAN-CVE-2021-23177
Rocky Linux:8libarchive0:3.3.3-3.el8_5RLSA-2022:0892

Affected products (as reported)

VendorProductVersions
n/a libarchive Fixed in libarchive 3.5.2

Weakness: CWE-59

References