CVE-2021-31566

Name
CVE-2021-31566
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 Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
MISC https://access.redhat.com/security/cve/CVE-2021-31566
MISC https://bugzilla.redhat.com/show_bug.cgi?id=2024237
MISC https://github.com/libarchive/libarchive/issues/1566
Mailing List https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* libarchive >= None < 3.5.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
libarchive 3.13-main 3.5.3-r0 Natanael Copa <ncopa@alpinelinux.org> fixed