CVE-2018-12536
Eclipse Jetty Server generates error message containing sensitive information
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty » jetty-server | >= 9.0.0, < 9.3.24.v20180605>= 9.4.0, < 9.4.11.v20180605 | 9.3.24.v20180605, 9.4.11.v20180605 |
Blast radius
52% of the dependent artifacts (4,445) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 45,918 |
| 2 hops | 104,141 |
| 3 hops | 87,568 |
| 4 hops | 47,281 |
| 5 hops | 20,078 |
| 6 hops | 7,689 |
Most used dependents
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.eclipse.jetty » jetty-servlet2,979 usages
- org.apache.spark » spark-core2,899 usages
- org.eclipse.jetty » jetty-webapp2,060 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.apache.hadoop » hadoop-hdfs1,377 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- com.github.tomakehurst » wiremock-jre81,180 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-12536
- Webhttps://bugs.eclipse.org/bugs/show_bug.cgi?id=535670
- Packagehttps://github.com/eclipse/jetty.project
- Webhttps://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E
- Webhttps://lists.debian.org/debian-lts-announce/2021/05/msg00016.html
- Webhttps://security.netapp.com/advisory/ntap-20181014-0001
- Webhttps://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03953en_us
- Webhttps://web.archive.org/web/20200516001904/http://www.securitytracker.com/id/1041194
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
