CVEvulnerability
CVE-2021-31566
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-08-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-59
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.
Affected configurations
• libarchive libarchive (< 3.5.2)
• fedoraproject fedora 35
• redhat enterprise linux 8.0
• redhat enterprise linux eus 8.6
• redhat enterprise linux for ibm z systems 8.0
• redhat enterprise linux for ibm z systems eus 8.6
• redhat enterprise linux for power little endian 8.0
• redhat enterprise linux for power little endian eus 8.6
• redhat enterprise linux server aus 8.6
• redhat enterprise linux server for power little endian update services for sap solutions 8.6
• redhat enterprise linux server tus 8.6
• redhat codeready linux builder
• debian debian linux 10.0
• splunk universal forwarder (>= 8.2.0 < 8.2.12)
• splunk universal forwarder (>= 9.0.0 < 9.0.6)
• splunk universal forwarder 9.1.0
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://access.redhat.com/security/cve/CVE-2021-31566 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237 Issue Tracking, Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043 Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1566 Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html Mailing List, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-31566 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237 Issue Tracking, Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043 Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1566 Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html Mailing List, Third Party Advisory