CVE-2020-36560
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/artdarek/go-unzip | github.com/artdarek/go-unzip | 0 < 1.0.0 | affected |
Weaknesses
- CWE 29: Path Traversal: "..\filename"
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/artdarek/go-unzip/pull/2
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0
- https://snyk.io/research/zip-slip-vulnerability
- https://pkg.go.dev/vuln/GO-2020-0034
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://github.com/artdarek/go-unzip/pull/2
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0
- https://snyk.io/research/zip-slip-vulnerability
- https://pkg.go.dev/vuln/GO-2020-0034
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.