CVE-2021-31566

HIGH
7.8
CVSS Score
Published: August 23, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 03:52 AM UTC
14 products affected across 5 vendorsDebian LinuxFedoraEnterprise Linux

Using libarchive by N/A?

Get instant alerts when new vulnerabilities affect libarchive - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.5.2
Vendor states this is fixed in 3.5.2 (unaffected)
All versions
redhat-enterprise-linux (environment) · redhat-enterprise-linux-eus (environment) · redhat-enterprise-linux-for-ibm-z-systems (environment) · redhat-enterprise-linux-for-ibm-z-systems-eus (environment) · redhat-enterprise-linux-for-power-little-endian (environment) · redhat-enterprise-linux-for-power-little-endian-eus (environment)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card