CVE-2020-36560 Path traversal in github.com/artdarek/go-unzip
CriticalCVSS 9.1
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| artdarek github.com/artdarek/go-unzip(Go) | < 1.0.0; < 2.0.0 | 1.0.0, 2.0.0 | Fixed |
| go-unzip project go-unzip | < 1.0.0 | 1.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| artdarek github.com/artdarek/go-unzip(Go) | < 2.0.0 | 2.0.0 |
| artdarek github.com/artdarek/go-unzip(Go) | < 1.0.0 | 1.0.0 |
| go-unzip project go-unzip | < 1.0.0 | 1.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit patch third-party-advisory
- github.com patch third-party-advisory
- pkg.go.dev third-party-advisory
- snyk.io technical-description third-party-advisory
- github.com
- github.com product