{"id":"CVE-2018-12542","published":"2018-10-10T20:00:00Z","modified":"2024-08-05T08:38:06Z","title":"In version from 3.0.0 to 3.5.3 of Eclipse Vert.x, the StaticHandler uses external input to construct a pathname that…","vendor":"The Eclipse Foundation","product":"Eclipse Vert.x","tier":"tail","description":{"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 '\\' (forward slashes) sequences that can resolve to a location that is outside of that directory when running on Windows Operating Systems.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02224,"percentile":0.83135,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/vert-x3/vertx-web/issues/1025","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=539171","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":16.63}]},"vendorSlug":"the-eclipse-foundation","affectedVersions":[{"vendor":"The Eclipse Foundation","product":"Eclipse Vert.x","versions":[">= 3.0, < unspecified",">= unspecified, <= 3.5.3"]}],"affected":[{"ecosystem":"Maven","package":"io.vertx:vertx-web","vulnerableRanges":[">=3.0.0, <3.5.4"],"patched":["3.5.4"],"from":["GHSA-h39x-m55c-v55h"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in the StaticHandler component of Eclipse Vert.x, affecting versions 3.0.0 through 3.5.3, where externally supplied input used to build a file path is not properly sanitised for backslash sequences on Windows. An attacker who can send requests to an affected application that serves static files on Windows can use crafted path sequences to resolve locations outside the intended restricted directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:20Z"},"euvd":{"id":"EUVD-2018-0608","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-the-eclipse-foundation-eclipse-vert-x-cve-2018-12542","children":[{"from":"CVE-2018-12542","to":"CVE-2019-17640","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["vertx-web/src/main/java/io/vertx/ext/web/handler/impl/StaticHandlerImpl.java"],"commits":["https://github.com/vert-x3/vertx-web/commit/57a65dce6f4c5aa5e3ce7288685e7f3447eb8f3b","https://github.com/vert-x3/vertx-web/commit/b12f7c4c6576a8adc3f683b2899de4b0e7d099e4"],"basis":"shared function","functions":["handle"]}]}],"packageHistory":[{"cve":"CVE-2018-12540","published":"2018-07-12","fixed":"3.5.3","kev":false,"link":{"from":"CVE-2018-12540","to":"CVE-2018-12542","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.vertx:vertx-web","fromFixed":"3.5.3","toFixed":"3.5.4","daysApart":90}]}},{"cve":"CVE-2018-12542","published":"2018-10-10","fixed":"3.5.4","kev":false},{"cve":"CVE-2019-17640","published":"2020-10-15","fixed":"3.9.4","kev":false},{"cve":"CVE-2020-35217","published":"2021-01-20","fixed":"4.0.0-milestone5","kev":false},{"cve":"CVE-2023-24815","published":"2023-02-09","fixed":"4.3.8","kev":false}],"package":"Maven:io.vertx:vertx-web"}}