VulnerabilityModified
CVE-2020-36561
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.32%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.32%). 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.32% probability · 69th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- unzip project/unzip
- Source
- security@golang.org
References
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73Patch, Third Party Advisory
- https://github.com/yi-ge/unzip/pull/1Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0035Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityTechnical Description, Third Party Advisory
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73Patch, Third Party Advisory
- https://github.com/yi-ge/unzip/pull/1Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0035Third 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.