GitHub Advisory Database
GHSA-h39x-m55c-v55h
Eclipse Vert.x does not properly neutralize '' (forward slashes) sequences that can resolve to an external location
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | io.vertx:vertx-web | From 3.0.0 before 3.5.4 (fixed in 3.5.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-12542
- https://github.com/vert-x3/vertx-web/issues/1025
- https://github.com/vert-x3/vertx-web/commit/57a65dce6f4c5aa5e3ce7288685e7f3447eb8f3b
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=539171
- https://github.com/advisories/GHSA-h39x-m55c-v55h
- https://github.com/vert-x3/vertx-web
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E