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?
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
