VulnerabilityModified
CVE-2020-36560
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
CRITICAL 9.1EPSS 1.25%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.25%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 1.25% probability · 68th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- go-unzip project/go-unzip
- Source
- security@golang.org
References
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0Patch, Third Party Advisory
- https://github.com/artdarek/go-unzip/pull/2Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0034Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityTechnical Description, Third Party Advisory
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0Patch, Third Party Advisory
- https://github.com/artdarek/go-unzip/pull/2Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0034Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityTechnical Description, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.