Critical severity · published Dec 27, 2022
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
9.1
CVSS
1.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AR
Archiver · Cloudfoundry
before 2018-05-23 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-25046
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-25046
Patch
https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840
Third Party Advisory
https://pkg.go.dev/vuln/GO-2020-0025
Technical Description
https://snyk.io/research/zip-slip-vulnerability
