VDB
Sign up
MEDIUM5.3

GHSA-xc67-hjx6-cgg6

Installation information leak in Eclipse Jetty

Quick fix

GHSA-xc67-hjx6-cgg6 — org.eclipse.jetty:jetty-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>9.2.28.v20190418</version> for org.eclipse.jetty:jetty-server

Details

In Eclipse Jetty version 7.x, 8.x, 9.2.27 and older, 9.3.26 and older, and 9.4.16 and older, the server running on any OS and Jetty version combination will reveal the configured fully qualified directory base resource location on the output of the 404 error for not finding a Context that matches the requested path. The default server behavior on jetty-distribution and jetty-home will include at the end of the Handler tree a DefaultHandler, which is responsible for reporting this 404 error, it presents the various configured contexts as HTML for users to click through to. This produced HTML includes output that contains the configured fully qualified directory base resource location for each context.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.eclipse.jetty:jetty-server
Introduced in: 7.0.0Fixed in: 9.2.28.v20190418
Fix# pom.xml: bump <version>9.2.28.v20190418</version> for org.eclipse.jetty:jetty-server
Maven/org.eclipse.jetty:jetty-server
Introduced in: 9.3.0Fixed in: 9.3.27.v20190418
Fix# pom.xml: bump <version>9.3.27.v20190418</version> for org.eclipse.jetty:jetty-server
Maven/org.eclipse.jetty:jetty-server
Introduced in: 9.4.0Fixed in: 9.4.17.v20190418
Fix# pom.xml: bump <version>9.4.17.v20190418</version> for org.eclipse.jetty:jetty-server

References