io.vertx:vertx-web@4.0.0-milestone5 vulnerabilities

  • latest version

    5.0.5

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    13 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Files or Directories Accessible to External Parties

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

    Affected versions of this package are vulnerable to Files or Directories Accessible to External Parties via improper handling of hidden directories in the StaticHandler implementation when the setIncludeHidden(false) configuration is set. An attacker can access sensitive files within hidden directories by directly requesting their paths, potentially exposing confidential information like credentials, configuration files, or source code.

    How to fix Files or Directories Accessible to External Parties?

    Upgrade io.vertx:vertx-web to version 4.5.22, 5.0.5 or higher.

    [,4.5.22)[5.0.0.CR1,5.0.5)
    • L
    Cross-site Scripting (XSS)

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

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the sendDirectoryListing in StaticHandlerImpl.java. An attacker can execute arbitrary JavaScript in the browser context of users viewing the directory listing page by creating files with specially crafted names that are rendered without proper HTML escaping.

    Notes:

    • Successful exploitation requires directory listing to be enabled using StaticHandler (e.g., StaticHandler.create("public").setDirectoryListing(true))
    • The attacker requires the ability to create arbitrary file names under a public directory (e.g., via upload functionality or a shared directory)

    How to fix Cross-site Scripting (XSS)?

    Upgrade io.vertx:vertx-web to version 4.5.22, 5.0.5 or higher.

    [,4.5.22)[5.0.0.CR1,5.0.5)