CVE-2021-31566

State
Published
Severity
Not scored
Published
Aug 23, 2022
Updated
Aug 3, 2024
Reserved
Dec 16, 2021

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
libarchiven/a
  • Fixed in libarchive 3.5.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.