HOMEVULNERABILITIESCVE-2021-31566
HIGH

CVE-2021-31566

CWE-59Published: August 23, 2022· Updated: Jun 17, 2026

7.8
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2021-31566 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Vendors & Products

Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
libarchive1 product(s)
libarchive
Red Hat10 product(s)
enterprise linuxenterprise linux eusenterprise linux for ibm z systemsenterprise linux for ibm z systems eusenterprise linux for power little endianenterprise linux for power little endian eusenterprise linux server ausenterprise linux server for power little endian update services for sap solutionsenterprise linux server tuscodeready linux builder
splunk1 product(s)
universal forwarder
Source: NVD CPE · 15 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (10)

Quick Facts

CVE IDCVE-2021-31566
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-59
CISA KEVNo
Affected5 vendor(s)
PublishedAug 23, 2022

Related CVEs (CWE-59)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-31566 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.