CVE-2021-31566: debian debian_linux Link Following
Vulnerability summary
CVE-2021-31566 is a high (CVSS 7.8) Link Following vulnerability in debian debian_linux. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 23-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
0.00 pp
From 0.39% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat10 products
- codeready_linux_builderna
- enterprise_linux8.0
- enterprise_linux_eus8.6
- enterprise_linux_for_ibm_z_systems8.0
- enterprise_linux_for_ibm_z_systems_eus8.6
Suse5 products
- libarchive&distro=SUSE Linux Enterprise Micro 5.3< 3.5.1-150400.3.9.1
- libarchive&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3< 3.4.2-150200.4.12.1
- libarchive&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 3.5.1-150400.3.9.1
- libarchive&distro=SUSE Linux Enterprise Module for Development Tools 15 SP3< 3.4.2-150200.4.12.1
- libarchive&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4< 3.5.1-150400.3.9.1
Debian2 products
- libarchive< 3.5.2-1
- debian_linuxEOL10.0
Opensuse2 products
- libarchive&distro=openSUSE Leap 15.3< 3.4.2-150200.4.12.1
- libarchive&distro=openSUSE Leap 15.4< 3.5.1-150400.3.9.1
Alpine1 product
- libarchive< 3.5.3-r0
Fedoraproject1 product
- fedoraEOL35
Libarchive1 product
- libarchive< 3.5.2
Splunk1 product
- universal_forwarder≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0
Ubuntu1 product
- libarchiveAll versions (No fix recorded) | < 3.4.0-2ubuntu1.1
9 vendors · 24 products
References
15 links- github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043PatchThird Party Advisory
- access.redhat.com/security/cve/CVE-2021-31566Third Party Advisory