CVE-2020-36560
Go-unzip Project Go-unzip vulnerability
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Go-unzip. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Go-unzip Project Go-unzip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0 · Patch
- github.com/artdarek/go-unzip/pull/2 · Exploit
- pkg.go.dev/vuln/GO-2020-0034 · Third Party Advisory
- snyk.io/research/zip-slip-vulnerability · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-36560
- cve.org/CVERecord?id=CVE-2020-36560
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.