Vulnerability Details : CVE-2020-36561
Potential exploit
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Products affected by CVE-2020-36561
- cpe:2.3:a:unzip_project:unzip:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-36561
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 29 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-36561
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
3.9
|
5.2
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-04-11 |
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
3.9
|
5.2
|
NIST |
CWE ids for CVE-2020-36561
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-36561
-
https://snyk.io/research/zip-slip-vulnerability
Zip Slip Vulnerability | SnykTechnical Description;Third Party Advisory
-
https://github.com/yi-ge/unzip/pull/1
fix: sanitize filepath names by snoopysecurity · Pull Request #1 · yi-ge/unzip · GitHubExploit;Third Party Advisory
-
https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73
Merge pull request #1 from snoopysecurity/fix/santize-filename-paths · yi-ge/unzip@2adbaa4 · GitHubPatch;Third Party Advisory
-
https://pkg.go.dev/vuln/GO-2020-0035
GO-2020-0035 - Go PackagesThird Party Advisory
Jump to