Vulnerability · Published Dec 27, 2022 · Assigned by Go
CVE-2020-36561Path traversal in github.com/yi-ge/unzip
Critical 9.1
In plain English
A critical-severity security flaw in github.com/yi-ge/unzip from github.com/yi-ge/unzip. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.4%top 27.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/yi-ge/unzip | 1.0.3-0.20200308084313-2adbaa4891b9 | GHSA-f5c5-hmw9-v8hx |
| Go | github.com/yi-ge/unzip | 1.0.3-0.20200308084313-2adbaa4891b9 | GO-2020-0035 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| github.com/yi-ge/unzip | github.com/yi-ge/unzip | 0 – before 1.0.3-0.20200308084313-2adbaa4891b9 |