{"cve":"CVE-2021-31566","nvd":{"published":"2022-08-23T16:15:09.337","modified":"2026-06-17T03:52:00.643","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-59"],"references":["https://access.redhat.com/security/cve/CVE-2021-31566","https://bugzilla.redhat.com/show_bug.cgi?id=2024237","https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043","https://github.com/libarchive/libarchive/issues/1566","https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html"],"products":["debian:debian_linux","fedoraproject:fedora","libarchive:libarchive","redhat:codeready_linux_builder","redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","redhat:enterprise_linux_server_tus","splunk:universal_forwarder"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2021-31566","score":0.0039,"percentile":0.33173,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}