Critical, CVSS 9.1GoPublished
Unzip vulnerable to path traversal
CVE-2020-36561 · GHSA-f5c5-hmw9-v8hx
- Affected
- Go github.com/yi-ge/unzip < 1.0.3-0.20200308084313-2adbaa4891b9
- Fixed in
- 1.0.3-0.20200308084313-2adbaa4891b9· Vendor fix available
- Issue
- Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Recommended action: Upgrade to 1.0.3-0.20200308084313-2adbaa4891b9 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.