Link Following Affecting libarchive package, versions <0:3.3.3-3.el8_5
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-LIBARCHIVE-2320826
- published 16 Dec 2021
- disclosed 22 Aug 2021
Introduced: 22 Aug 2021
CVE-2021-31566 Open this link in a new tabHow to fix?
Upgrade Centos:8
libarchive
to version 0:3.3.3-3.el8_5 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libarchive
package and not the libarchive
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2021-31566
- https://access.redhat.com/errata/RHSA-2022:0892
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237
- https://github.com/libarchive/libarchive/issues/1566
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html