CVE-2020-36561
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Summary
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| github.com/yi-ge/unzip | github.com/yi-ge/unzip | 0 < 1.0.3-0.20200308084313-2adbaa4891b9 | affected |
Weaknesses
- CWE 29: Path Traversal: "..\filename"
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/yi-ge/unzip/pull/1
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73
- https://snyk.io/research/zip-slip-vulnerability
- https://pkg.go.dev/vuln/GO-2020-0035
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://github.com/yi-ge/unzip/pull/1
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73
- https://snyk.io/research/zip-slip-vulnerability
- https://pkg.go.dev/vuln/GO-2020-0035
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.