Live threats

All CVEs / Eclipse

CVE-2018-12536Eclipse Jetty

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jun 27, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-209
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

In Eclipse Jetty Server, all 9.x versions, on webapps deployed using default Error Handling, 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jetty.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.eclipse.jetty:jetty-server ≥ 9.4.0 < 9.4.11.v20180605 9.4.11.v20180605 —
Maven org.eclipse.jetty:jetty-server ≥ 9.0.0 < 9.3.24.v20180605 9.3.24.v20180605 —

Per OSV / GitHub Advisories (GHSA-9rgv-h7x4-qw8g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
eclipsejetty≥ 9.0.0 ≤ 9.2.26
eclipsejetty≥ 9.3.0 < 9.3.24
eclipsejetty≥ 9.4.0 < 9.4.11
oracleretail_xstore_point_of_service7.1
oracleretail_xstore_point_of_service15.0
oracleretail_xstore_point_of_service16.0.0
oracleretail_xstore_point_of_service17.0

Official sources

References

Links published by the sources. Open them with care.