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 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
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | jetty8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | jetty9 | Fix pending | UBUNTU-CVE-2018-12536 | |
| Ubuntu 14.04 | jetty8 | Fix pending | ||
| Debian 14 | jetty9 | Fixed | 9.2.25-1 | DEBIAN-CVE-2018-12536 |
| Debian 13 | jetty9 | Fixed | 9.2.25-1 | DEBIAN-CVE-2018-12536 |
| Debian 12 | jetty9 | Fixed | 9.2.25-1 | DEBIAN-CVE-2018-12536 |
| Red Hat Enterprise Linux 7 | jetty-annotations | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-ant | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-continuation | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-deploy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-http | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-io | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jaas | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jaspi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jndi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jsp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jspc-maven-plugin | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-maven-plugin | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-monitor | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-plus | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-project | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-proxy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-rewrite | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-runner | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-security | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-servlet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-servlets | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-start | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-util | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-util-ajax | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-webapp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-parent | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-servlet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-xml | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | jetty-eclipse | Not affected | ||
| Maven library | org.eclipse.jetty:jetty-server | Fixed | 9.3.24.v20180605 | GHSA-9rgv-h7x4-qw8g |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Eclipse Foundation Eclipse Jetty: affected: unspecified to 9.2.0, 9.3.0 to before unspecified, unspecified to before 9.3.24, 9.4.0 to before unspecified, unspecified to before 9.4.11; fixed in
9.3.24,9.4.11
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.