Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2018-12542: Eclipse Vert.x StaticHandler allows directory traversal on Windows
CVE-2018-12542 · published 8 years ago
Summary
The Eclipse Vert.x StaticHandler in versions 3.0.0 to 3.5.3 doesn't properly handle directory paths on Windows, which could allow an attacker to access unauthorized files. This affects systems that use the StaticHandler to serve files. To protect your system, update to a fixed version of Eclipse Vert.x.
What to do
- Update vertx io.vertx:vertx-web to version 3.5.4.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| maven | vertx | io.vertx:vertx-web |
>= 3.0.0, < 3.5.4 Fix: upgrade to 3.5.4
|
| – | eclipse | vert.x |
>= 3.0.0, <= 3.5.3 cpe:2.3:a:eclipse:vert.x:*:*:*:*:*:*:*:* |
Original advisory text
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 '\'...
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-12542
- https://github.com/vert-x3/vertx-web/issues/1025
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=539171
- https://github.com/advisories/GHSA-h39x-m55c-v55h
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995...
- https://github.com/vert-x3/vertx-web/commit/57a65dce6f4c5aa5e3ce7288685e7f3447eb...
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995...
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-22Path Traversal
Timeline
Published10 Oct 2018
Updated29 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta