CVE-2020-36561
criticalpriority · track · 36EPSS 0.014 · 73 %ileEUUSEPSS · scored 2026-10-28
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.3–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- unzip project unzip< 1.0.3-0.20200308084313-2adbaa4891b9nvdUScpe:2.3:a:unzip_project:unzip:*:*:*:*:*:*:*:*
- Go github.com/yi-ge/unzip< 1.0.3-0.20200308084313-2adbaa4891b9osvUSpkg:golang/github.com/yi-ge/unzip
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-f5c5-hmw9-v8hxUnzip vulnerable to path traversal2022-12-28ghsa · osvUS
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
- GO-2020-0035Path traversal in github.com/yi-ge/unzip2021-04-14vendor · osvUS
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2020-36561/cnnvd
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73cnnvd
- https://github.com/yi-ge/unzip/pull/1cnnvd
- https://pkg.go.dev/vuln/GO-2020-0035cnnvd
- https://snyk.io/research/zip-slip-vulnerabilitycnnvd
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73enisa_euvd
- https://github.com/yi-ge/unzip/pull/1enisa_euvd
- https://pkg.go.dev/vuln/GO-2020-0035enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan