Vulnerabilities · 2021 · Libarchive
CVE-2021-31566
Libarchive vulnerability
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 products
Libarchive, Fedora, Enterprise Linux, Enterprise Linux Eus, Enterprise Linux For Ibm Z Systems, Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Power Little Endian, Enterprise Linux For Power Little Endian Eus, Enterprise Linux Server Aus, Enterprise Linux Server Tus and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=2024237 · Patch
- github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043 · Patch
- github.com/libarchive/libarchive/issues/1566 · Patch
- access.redhat.com/security/cve/CVE-2021-31566 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/11/msg00030.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-31566
- cve.org/CVERecord?id=CVE-2021-31566
More vulnerabilities in Libarchive products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.