Live threats

All CVEs / Libarchive

CVE-2021-31566Libarchive

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 35
Auth required
Yes
Published
Aug 23, 2022
Updated
Nov 2, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libarchive.

Affected products (CPE)

VendorProductVersions
libarchivelibarchive< 3.5.2
fedoraprojectfedora35
redhatenterprise_linux8.0
redhatenterprise_linux_eus8.6
redhatenterprise_linux_for_ibm_z_systems8.0
redhatenterprise_linux_for_ibm_z_systems_eus8.6
redhatenterprise_linux_for_power_little_endian8.0
redhatenterprise_linux_for_power_little_endian_eus8.6
redhatenterprise_linux_server_aus8.6
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.6
redhatenterprise_linux_server_tus8.6
redhatcodeready_linux_builderall
debiandebian_linux10.0
splunkuniversal_forwarder≥ 8.2.0 < 8.2.12
splunkuniversal_forwarder≥ 9.0.0 < 9.0.6
splunkuniversal_forwarder9.1.0

Official sources

References

Links published by the sources. Open them with care.