{"schemaVersion":3,"id":"CVE-2018-12542","aliases":["GHSA-h39x-m55c-v55h"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-10-10T20:00:00.000Z","modified":"2024-08-05T08:38:06.140Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.02224,"percentile":0.82441,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.0619999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02286},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01976,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02224,"percentile":0.82441}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01976,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02286,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02224,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02224,"percentile":0.82441}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_VERT-X3_VERTX-WEB","name":"Vertx Web","source":"github","url":"https://github.com/vert-x3/vertx-web/issues/2836","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"eclipse","product":"vert.x","name":"vert.x","label":"vert.x","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, ≤ 3.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, ≤ 3.5.3","eol":null,"hubHref":"/vendor/eclipse/vertx"},{"vendor":"io.vertx","product":"vertx-web","name":"io.vertx:vertx-web","label":"vertx-web","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/io.vertx/vertx-web","purlType":"maven","versions":[{"text":"≥ 3.0.0, < 3.5.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.5.4","eol":null,"hubHref":null},{"vendor":"the eclipse foundation","product":"eclipse vert.x","name":"Eclipse Vert.x","label":"eclipse vert.x","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, ≤ 3.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0, < unspecified | ≥ unspecified, ≤ 3.5.3","eol":null,"hubHref":"/vendor/the_eclipse_foundation/eclipse_vertx"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://github.com/vert-x3/vertx-web/issues/1025","label":"github.com/vert-x3/vertx-web/issues/1025","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Vendor Advisory","WEB"]},{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=539171","label":"bugs.eclipse.org/bugs/show_bug.cgi?id=539171","hostname":"bugs.eclipse.org","tags":["X Refsource CONFIRM","Issue Tracking","Vendor Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12542","label":"nvd.nist.gov/vuln/detail/CVE-2018-12542","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vert-x3/vertx-web/commit/57a65dce6f4c5aa5e3ce7288685e7f3447eb8f3b","label":"github.com/vert-x3/vertx-web/commit/57a65dce6f4c5aa5e3ce7288685e7f3447eb8f3b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-h39x-m55c-v55h","label":"github.com/advisories/GHSA-h39x-m55c-v55h","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/vert-x3/vertx-web","label":"github.com/vert-x3/vertx-web","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-10-10T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:38:06.140Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:51:02.183Z","stale":false,"partial":false}}