Security readout for executives and security teams
Plain-English summary
CVE-2020-7664 is a Zip Slip flaw in github.com/unknwon/cae/zip. If an application extracts attacker-controlled ZIP files with ExtractTo, crafted archive paths can write files outside the intended folder. Business impact is integrity-focused: unauthorized file creation or replacement, potentially affecting application behavior or system configuration.
Executive priority
Prioritize remediation where ZIP upload, import, backup, or integration workflows touch production systems. The issue is not listed as actively exploited in the supplied sources, but arbitrary file write is a serious integrity risk and should not remain in exposed ingestion paths.
Technical view
The ExtractTo function does not securely escape archive entries containing leading or embedded ".." path traversal segments. During extraction, those paths can resolve outside the target directory, allowing arbitrary file writes. The supplied bundle identifies all versions of github.com/unknwon/cae/zip as affected and gives CVSS 3.1 score 7.5.
Likely exposure
Exposure is limited to Go applications that import github.com/unknwon/cae/zip and use ExtractTo on ZIP archives from users, partners, automated feeds, or other untrusted sources. Systems not using this package or not extracting untrusted ZIPs are unlikely to be exposed.
Exploitation context
The bundle marks KEV as false, so there is no supplied evidence of known active exploitation. The CVSS vector includes proof-of-concept maturity, but no exploit details are needed to understand the risk: malicious archive paths can cause unintended file writes during extraction.
Researcher notes
Key unknowns remain: the supplied bundle does not name a patched version, CWE mapping, or vendor mitigation details. Treat findings as source-scoped. Validate real-world impact by mapping package usage, trust boundaries, filesystem permissions, and whether written files could influence application execution or configuration.
Mitigation direction
- Inventory applications using github.com/unknwon/cae/zip.
- Check Snyk and upstream guidance for a safe replacement or fix.
- Avoid ExtractTo for untrusted ZIP archives until remediated.
- Use an extraction library that validates canonical destination paths.
- Run extraction with least-privileged filesystem permissions.
Validation and detection
- Search dependency manifests for github.com/unknwon/cae/zip.
- Review code paths calling ExtractTo.
- Identify whether archives can originate from untrusted users or feeds.
- Confirm extraction targets cannot escape the intended directory.
- Verify remediation with safe-path regression tests.
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.
File access behavior lookup
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2020-7664 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
- High
- CVSS
- 7.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:C
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 vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:C3.93.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:C
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383CVE reference · x_refsource_MISC
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.
