Security readout for executives and security teams
Plain-English summary
CVE-2021-31566 affects libarchive archive extraction. A malicious archive can cause metadata changes to files outside the archive, such as modes, timestamps, ACLs, or flags. The source bundle says a local attacker may use this to gain more privileges after a victim extracts the archive.
Executive priority
Treat as a practical hardening priority, not an emergency based on available evidence. Prioritize internet-facing or user-upload archive processing, build systems, and administrative workflows that extract files with high privileges.
Technical view
The flaw is CWE-59 improper link resolution during archive extraction. The issue is fixed in libarchive 3.5.2. The bundle does not provide CVSS scoring. Vendor advisories from Red Hat and Debian are referenced, indicating downstream package handling may vary by distribution.
Likely exposure
Exposure is most likely on systems or applications using libarchive without the 3.5.2 fix or a vendor backport, especially where untrusted archives are extracted by users or automated services.
Exploitation context
The bundle does not cite active exploitation, and KEV is false. Exploitation requires a malicious archive and extraction by a victim context. Impact depends on which files can be affected and whether extraction occurs with elevated privileges.
Researcher notes
Key uncertainty is affected version range beyond the stated fix in 3.5.2. Validate against vendor package metadata rather than upstream version alone because distributions may backport security fixes without changing major version numbers.
Mitigation direction
- Upgrade libarchive to 3.5.2 or a vendor package containing the fix.
- Check Red Hat, Debian, and other vendor guidance for backported package status.
- Avoid extracting untrusted archives with elevated privileges.
- Isolate archive extraction workflows that process user-supplied files.
Validation and detection
- Inventory systems and applications that include or link libarchive.
- Confirm installed packages include the CVE-2021-31566 fix or vendor backport.
- Review workflows that extract untrusted or user-provided archives.
- Verify privileged services do not extract attacker-controlled archives directly.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-59: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-31566 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/libarchive/libarchive/issues/1566CVE reference
- https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043CVE reference
- https://bugzilla.redhat.com/show_bug.cgi?id=2024237CVE reference
- https://access.redhat.com/security/cve/CVE-2021-31566CVE reference
- [debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security updateCVE reference · mailing-list
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Link Resolution Before File Access ('Link Following')
Improper Link Resolution Before File Access ('Link Following') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
