{"id":"CVE-2021-31566","details":"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.","modified":"2026-05-13T12:02:25.136842275Z","published":"2022-08-23T16:15:09.337Z","related":["ALSA-2022:0892","SUSE-SU-2022:3935-1","SUSE-SU-2022:3936-1","openSUSE-SU-2024:11894-1"],"database_specific":{"unresolved_ranges":[{"cpe":"cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"8.2.0"},{"fixed":"8.2.12"},{"introduced":"9.0.0"},{"fixed":"9.0.6"}]},{"cpe":"cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"9.1.0"}]},{"cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"10.0"}]},{"cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"35"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.0"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.6"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.0"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.6:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.6"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.0"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.6:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.6"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.6"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.6"}]},{"cpe":"cpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.6"}]}]},"references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2021-31566"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024237"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/issues/1566"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libarchive/libarchive","events":[{"introduced":"0"},{"fixed":"1b2c437b99b361c7692538fa373e99955e9b93ae"}],"database_specific":{"cpe":"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"3.5.2"}]}}],"versions":["v3.5.1","v3.5.0","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.2","v3.2.1","v3.2.0","v3.1.900a","v3.0.1b","v3.0.0a"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31566.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}