VulnerabilityModified
CVE-2020-36566
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.02%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.02%). 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.02% probability · 62th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- tar-utils project/tar-utils
- Source
- security@golang.org
References
- https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227Patch, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2021-0106Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityTechnical Description, Third Party Advisory
- https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227Patch, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2021-0106Third 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.