CVE-2021-31566
Last modified
CVE-2021-31566 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 | All versions |
| 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 |
References
- https://access.redhat.com/security/cve/CVE-2021-31566Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237Issue Tracking, Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1566Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing List, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-31566Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237Issue Tracking, Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1566Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31566?
How severe is CVE-2021-31566?
How do I fix CVE-2021-31566?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31555An issue was discovered in the Oauth extension for MediaWiki…7.5
- CVE-2021-31556An issue was discovered in the Oauth extension for MediaWiki…9.8
- CVE-2021-31558DIAEnergie Version 1.7.5 and prior is vulnerable to stored c…6.1
- CVE-2021-31559A crafted request bypasses S2S TCP Token authentication writ…7.5
- CVE-2021-3156Sudo before 1.9.5p2 contains an off-by-one error that can re…7.8
- CVE-2021-31562The SSL/TLS configuration of Fresenius Kabi Agilia Link + ve…9.1
- CVE-2021-31567Authenticated (admin+) Arbitrary File Download vulnerability…6.8
- CVE-2021-31571The kernel in Amazon Web Services FreeRTOS before 10.4.3 has…9.8
- CVE-2021-31572The kernel in Amazon Web Services FreeRTOS before 10.4.3 has…9.8
- CVE-2021-31573In Config Manager, there is a possible command injection due…9.8
- CVE-2021-31574In Config Manager, there is a possible command injection due…9.8
- CVE-2021-31575In Config Manager, there is a possible command injection due…9.8
Are you affected by CVE-2021-31566?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
