CVEvulnerability
CVE-2020-36560
9.1 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-12-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-22
Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected configurations
• go-unzip project go-unzip (< 1.0.0)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0 Patch, Third Party Advisory
- https://github.com/artdarek/go-unzip/pull/2 Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0034 Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerability Technical Description, Third Party Advisory
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0 Patch, Third Party Advisory
- https://github.com/artdarek/go-unzip/pull/2 Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0034 Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerability Technical Description, Third Party Advisory