Vulnerability Details : 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.
Vulnerability category: Directory traversal
Products affected by CVE-2020-36566
- cpe:2.3:a:tar-utils_project:tar-utils:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-36566
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-36566
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
|
NIST |
CWE ids for CVE-2020-36566
-
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-36566
-
https://snyk.io/research/zip-slip-vulnerability
Zip Slip Vulnerability | SnykTechnical Description;Third Party Advisory
-
https://pkg.go.dev/vuln/GO-2021-0106
GO-2021-0106 - Go PackagesThird Party Advisory
-
https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227
more closely match default tar errors (GNU + BSD binaries) · whyrusleeping/tar-utils@20a6137 · GitHubPatch;Third Party Advisory
Jump to