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—
Product
Libarchive
PublishedAug 23, 2022
First seenAug 23, 2022
Weakness typeCWE-59Improper link resolution
How to fix
Update
- libarchive libarchive3.5.2 or later
- splunk universal_forwarder8.2.12, 9.0.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libarchive libarchive | v < 3.5.2 | 3.5.2 |
| fedoraproject fedora | 35 | — |
| redhat enterprise_linux | 8.0 | — |
| redhat enterprise_linux_eus | 8.6 | — |
| redhat enterprise_linux_for_ibm_z_systems | 8.0 | — |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.6 | — |
| redhat enterprise_linux_for_power_little_endian | 8.0 | — |
| redhat enterprise_linux_for_power_little_endian_eus | 8.6 | — |
| redhat enterprise_linux_server_aus | 8.6 | — |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.6 | — |
| redhat enterprise_linux_server_tus | 8.6 | — |
| redhat codeready_linux_builder | No range specified | — |
| debian debian_linux | 10.0 | — |
| splunk universal_forwarder | 8.2.0 ≤ v < 8.2.12, 9.0.0 ≤ v < 9.0.6, 9.1.0 | 8.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.