io.vertx:vertx-web@4.1.0 vulnerabilities

  • latest version

    4.5.11

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the io.vertx:vertx-web package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Directory Traversal

    io.vertx:vertx-web is a HTTP web applications for Vert.x.

    Affected versions of this package are vulnerable to Directory Traversal when running Vertx web applications that serve files using StaticHandle. If the mount point is a wildcard (*) then an attacker can exfiltrate any class path resource.

    When computing the relative path to locate the resource, in case of wildcards, the code 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.

    Note: This vulnerability can only be exploited on Windows Operating Systems and Windows File Systems

    How to fix Directory Traversal?

    Upgrade io.vertx:vertx-web to version 4.3.8 or higher.

    [4.0.0,4.3.8)