Path Traversal in Eclipse Vert.x
CVE-2018-12542
In version from 3.0.0 to 3.5.3 of Eclipse Vert.x, the StaticHandler uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\' (forward slashes) sequences that can resolve to a location that is outside of that directory when running on Windows Operating Systems.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.022, 83.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Eclipse Vert.x
- The Eclipse Foundation Vert.x — versions unspecified, 3.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- shoucheng3/vert-x3__vertx-web_CVE-2018-12542_3_5_4_fixed (last pushed 2025-09-06)
- shoucheng3/vert-x3__vertx-web_CVE-2018-12542_3-5-3-CR1 (last pushed 2025-08-16)
Also mentioned in 1 other repository (PuddinCat/GithubRepoSpider). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list (mailing-list)
- github.com/vert-x3/vertx-web/issues/1025 (Exploit, Vendor Advisory)
- bugs.eclipse.org/bugs/show_bug.cgi (Issue Tracking, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.