MediumGHSA-53jx-vvf9-4x38CVE-2023-24815

StaticHandler disclosure of classpath resources on Windows when mounted on a wildcard route

Published 10 Feb 2023 · Updated 10 Sept 2026

Is your project on an affected io.vertx:vertx-web?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=4.0.0 <4.3.8
Fixed in
4.3.8
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=io.vertx:vertx-web -DdepVersion=4.3.8 -DforceVersion=true

Details

Summary

When running vertx web applications that serve files using StaticHandler on Windows Operating Systems and Windows File Systems, if the mount point is a wildcard (*) then an attacker can exfiltrate any class path resource.

Details

When computing the relative path to locate the resource, in case of wildcards, the code:

https://github.com/vert-x3/vertx-web/blob/62c0d66fa1c179ae6a4d57344631679a2b97e60f/vertx-web/src/main/java/io/vertx/ext/web/impl/Utils.java#L83

returns the user input (without validation) as the segment to lookup. Even though checks are performed to avoid escaping the sandbox, given that the input was not sanitized \ are not properly handled and an attacker can build a path that is valid within the classpath.

PoC

https://github.com/adrien-aubert-drovio/vertx-statichandler-windows-traversal-path-vulnerability

Is GHSA-53jx-vvf9-4x38 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected io.vertx:vertx-web, and gives you the command that fixes it.

More advisories for io.vertx:vertx-web

  • LowCVE-2025-11966Vert.x-Web vulnerable to Stored Cross-site Scripting in directory listings via file names · 22 Oct 2025
  • MediumCVE-2025-11965Vert.x-Web Access Control Flaw in StaticHandler’s Hidden File Protection for Files Under Hidden Directories · 22 Oct 2025
  • CriticalCVE-2019-17640Path Traversal in Eclipse Vert · 10 Feb 2022
  • HighCVE-2020-35217Cross-Site Request Forgery in Vert.x-Web framework · 22 Apr 2021
  • CriticalCVE-2018-12542Eclipse Vert.x does not properly neutralize '' (forward slashes) sequences that can resolve to an external location · 17 Oct 2018
  • HighCVE-2018-12540High severity vulnerability that affects io.vertx:vertx-web · 17 Oct 2018
io.vertx:vertx-web security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.