CVE-2021-31566
CVE-2021-31566
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| libarchive n/a |
Fixed in libarchive 3.5.2 (affected) | CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
No CVSS assessment reported. An unscored record is not a low-severity determination.
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/libarchive/libarchive/issues/1566CNA: redhat
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043CNA: redhat
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237CNA: redhat
- https://access.redhat.com/security/cve/CVE-2021-31566CNA: redhat
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlCNA: redhat · mailing-list
- https://github.com/libarchive/libarchive/issues/1566ADP: CVE · x_transferred
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043ADP: CVE · x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237ADP: CVE · x_transferred
- https://access.redhat.com/security/cve/CVE-2021-31566ADP: CVE · x_transferred
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlADP: CVE · mailing-list, x_transferred
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.