CVE-2021-31566
JSON

7.8high

An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of…

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
libarchiveFixed in libarchive 3.5.2CVE List
libarchive libarchivebefore 3.5.2NVD
fedoraproject fedora35NVD
redhat enterprise_linux8.0NVD
redhat enterprise_linux_eus8.6NVD
redhat enterprise_linux_for_ibm_z_systems8.0NVD
redhat enterprise_linux_for_ibm_z_systems_eus8.6NVD
redhat enterprise_linux_for_power_little_endian8.0NVD
redhat enterprise_linux_for_power_little_endian_eus8.6NVD
redhat enterprise_linux_server_aus8.6NVD
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.6NVD
redhat enterprise_linux_server_tus8.6NVD

Classification

CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un fallo de resolución de enlaces inapropiado puede ocurrir mientras es extraído un archivo que conlleva a un cambio de modos, tiempos, listas de control de acceso y flags de un archivo fuera del archivo. Un atacante puede proporcionar un archivo malicioso a un usuario víctima, que desencadenaría este fallo cuando intente extraer el archivo. Un atacante local puede usar este defecto para conseguir más privilegios en un sistema.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-31566 changed 2026-11-02CVE Terms of Use
NVDCVE-2021-31566 changed 2026-11-02Public domain