Vulnerability Report: GO-2020-0034
- CVE-2020-36560, GHSA-rmj9-q58g-9qgg
- Affects: github.com/artdarek/go-unzip
- Published: Apr 14, 2021
- Modified: May 20, 2024
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected Packages
-
PathGo VersionsSymbols
-
before v1.0.0
Aliases
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://vuln.go.dev/ID/GO-2020-0034.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.