Information Exposure Affecting org.eclipse.jetty:jetty-util Open this link in a new tab package, versions [9.3.0.RC0, 9.3.24.v20180605) [9.4.0.M0, 9.4.11.v20180605)


0.0
medium
  • Attack Complexity

    Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-JAVA-ORGECLIPSEJETTY-461008

  • published

    28 Jun 2018

  • disclosed

    7 Jun 2018

  • credit

    Unknown

How to fix?

Upgrade org.eclipse.jetty:jetty-util to version 9.3.24.v20180605, 9.4.11.v20180605 or higher.

Overview

org.eclipse.jetty:jetty-util is a Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more.

Affected versions of this package are vulnerable to Information Exposure. When an intentionally bad query arrives that doesn't match a dynamic url-pattern, and is eventually handled by the DefaultServlet's static file serving, the bad characters can trigger a java.nio.file.InvalidPathException which includes the full path to the base resource directory that the DefaultServlet and/or webapp is using. If this InvalidPathException is then handled by the default Error Handler, the InvalidPathException message is included in the error response, revealing the full server path to the requesting system.