Vulnerability Details : CVE-2018-25046
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-2018-25046
- cpe:2.3:a:cloudfoundry:archiver:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-25046
0.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-25046
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-2018-25046
-
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-2018-25046
-
https://pkg.go.dev/vuln/GO-2020-0025
GO-2020-0025 - Go PackagesThird Party Advisory
-
https://snyk.io/research/zip-slip-vulnerability
Zip Slip Vulnerability | SnykTechnical Description;Third Party Advisory
-
https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840
Refactored the path resolution to use securejoin · cloudfoundry/archiver@09b5706 · GitHubPatch;Third Party Advisory
Jump to