Affected versions
Version ranges need review.
- Affected versions
- <1.0.3-0.20200308084313-2adbaa4891b9
- Fixed version
- 1.0.3-0.20200308084313-2adbaa4891b9
- Affected versions
- < 1.0.3-0.20200308084313-2adbaa4891b9
- Fixed version
- 1.0.3-0.20200308084313-2adbaa4891b9
Exploitation
Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Links
- https://github.com/advisories/GHSA-f5c5-hmw9-v8hx
- https://github.com/yi-ge/unzip
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73
- https://github.com/yi-ge/unzip/pull/1
- https://nvd.nist.gov/vuln/detail/CVE-2020-36561
- https://pkg.go.dev/vuln/GO-2020-0035
- https://snyk.io/research/zip-slip-vulnerability

