CVE-2021-31566

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLibarchive
PublishedAug 23, 2022
First seenAug 23, 2022

How to fix

Update
  • libarchive libarchive3.5.2 or later
  • splunk universal_forwarder8.2.12, 9.0.6 or later

Affected products

ProductAffected versionsFixed in
libarchive libarchivev < 3.5.23.5.2
fedoraproject fedora35—
redhat enterprise_linux8.0—
redhat enterprise_linux_eus8.6—
redhat enterprise_linux_for_ibm_z_systems8.0—
redhat enterprise_linux_for_ibm_z_systems_eus8.6—
redhat enterprise_linux_for_power_little_endian8.0—
redhat enterprise_linux_for_power_little_endian_eus8.6—
redhat enterprise_linux_server_aus8.6—
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.6—
redhat enterprise_linux_server_tus8.6—
redhat codeready_linux_builderNo range specified—
debian debian_linux10.0—
splunk universal_forwarder8.2.0 ≤ v < 8.2.12, 9.0.0 ≤ v < 9.0.6, 9.1.08.2.12, 9.0.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.