CVE-2020-36561Unzip Project Unzip
Critical 9.1 No auth needed
Follow: this CVE · Unzip Project · Unzip Project Unzip We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Dec 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
What to do
- Apply the vendor's security update for Unzip.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/yi-ge/unzip |
< 1.0.3-0.20200308084313-2adbaa4891b9 |
1.0.3-0.20200308084313-2adbaa4891b9 |
go get github.com/yi-ge/unzip@v1.0.3-0.20200308084313-2adbaa4891b9 |
| Go | github.com/yi-ge/unzip |
< 1.0.3-0.20200308084313-2adbaa4891b9 |
1.0.3-0.20200308084313-2adbaa4891b9 |
go get github.com/yi-ge/unzip@v1.0.3-0.20200308084313-2adbaa4891b9 |
Per OSV / GitHub Advisories (GHSA-f5c5-hmw9-v8hx, GO-2020-0035). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| unzip_project | unzip | < 1.0.3-0.20200308084313-2adbaa4891b9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- pkg.go.dev Third Party Advisory
- snyk.io Technical Description Third Party Advisory