CVE-2020-7664GO-2021-0228GHSA-VPX7-VM66-QX8R
Arbitrary File Write via Archive Extraction (Zip Slip)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.0.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In all versions of the package github.com/unknwon/cae/zip, the ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a github.com/unknwon/cae/zip
All versions
- github.com/unknwon/caeGo
fixed in 1.0.1