GitHub Advisoryadvisory · Go
GHSA-vpx7-vm66-qx8r Path Traversal in github.com/unknwon/cae/zip
HIGH
Official page ↗
- Aliases
- CVE-2020-7664
- Ecosystem
- Go
- Packages
- github.com/unknwon/cae
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2021-05-12
Affected packages
• Go github.com/unknwon/cae: < 1.0.1 → fixed in 1.0.1
Description
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.
Specific Go Packages Affected
github.com/unknwon/cae/zip
Related
Alias · CVE (1)
- CVE-2020-7664 In all versions of the package github.com/unknwon/cae/zip, the ExtractTo function doesn't securely escape file paths in zip archives which… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness