CVE-2018-12542 json
Eclipse Vert.x does not properly neutralize '' (forward slashes) sequences that can resolve to an external location
published 2018-10-10 8 y ago modified 2026-06-17 4 mo ago also GHSA-h39x-m55c-v55h , EUVD-2018-0608
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vert-x3/vertx-web/issues/1025 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.vertx:vertx-web | >=3.0.0, <3.5.4 |
3.5.4 |
Affected products
- The Eclipse Foundation Eclipse Vert.x
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/vert-x3/vertx-web/commit/57a65dce6f4c5aa5e3ce7288685e7f3447eb8f3b
web
-
github.com
/vert-x3/vertx-web/issues/1025
web, exploit, vendor-advisory
-
bugs.eclipse.org
/bugs/show_bug.cgi?id=539171
web, issue-tracking, vendor-advisory
-
lists.apache.org
/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-12542
advisory
-
github.com
/advisories/GHSA-h39x-m55c-v55h
advisory
-
github.com
/vert-x3/vertx-web
package
-
lists.apache.org
/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
web
Sources
- CVE List CVE-2018-12542
- GitHub Advisory GHSA-h39x-m55c-v55h
- NVD CVE-2018-12542
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.