CVE-2021-31566: Debian Linux

High severity, CVSS 7.8. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

  • Debian Debian Linux: version 10.0 only
  • Fedoraproject Fedora: version 35 only
  • Libarchive Libarchive: before 3.5.2 (fixed in 3.5.2)
  • Red Hat Codeready Linux Builder: affected versions not specified
  • Red Hat Enterprise Linux: version 8.0 only
  • Red Hat Enterprise Linux Eus: version 8.6 only
  • Red Hat Enterprise Linux For IBM Z Systems: version 8.0 only
  • Red Hat Enterprise Linux For IBM Z Systems Eus: version 8.6 only
  • Red Hat Enterprise Linux For Power Little Endian: version 8.0 only
  • Red Hat Enterprise Linux For Power Little Endian Eus: version 8.6 only
  • Red Hat Enterprise Linux Server Aus: version 8.6 only
  • Red Hat Enterprise Linux Server For Power Little Endian Update Services For SAP Solutions: version 8.6 only
  • Red Hat Enterprise Linux Server Tus: version 8.6 only
  • Splunk Universal Forwarder: from 8.2.0, before 8.2.12 (fixed in 8.2.12); from 9.0.0, before 9.0.6 (fixed in 9.0.6); version 9.1.0 only

Published 2022-08-23. Last modified 2026-06-17.