Information Exposure Affecting org.eclipse.jetty:jetty-util package, versions [9.3.0.RC0, 9.3.24.v20180605)[9.4.0.M0, 9.4.11.v20180605)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (73rd percentile)

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 IDSNYK-JAVA-ORGECLIPSEJETTY-461008
  • published28 Jun 2018
  • disclosed7 Jun 2018
  • creditUnknown

Introduced: 7 Jun 2018

CVE-2018-12536  (opens in a new tab)
CWE-200  (opens in a new tab)

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.

CVSS Scores

version 3.1