CVE-2018-12536

NameCVE-2018-12536
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2661-1
Debian Bugs902774

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jetty (PTS)jessie, jessie (lts)6.1.26-4+deb8u2vulnerable
jetty8 (PTS)jessie, jessie (lts)8.1.16-4+deb8u1vulnerable
jetty9 (PTS)stretch (security), stretch (lts), stretch9.2.30-0+deb9u2fixed
buster9.4.16-0+deb10u1fixed
buster (security)9.4.50-4+deb10u2fixed
bullseye9.4.50-4+deb11u1fixed
bullseye (security)9.4.50-4+deb11u2fixed
bookworm9.4.50-4+deb12u2fixed
bookworm (security)9.4.50-4+deb12u3fixed
sid, trixie9.4.54-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jettysource(unstable)(unfixed)
jetty8sourcewheezy(unfixed)end-of-life
jetty8source(unstable)(unfixed)
jetty9sourcestretch9.2.30-0+deb9u1DLA-2661-1
jetty9source(unstable)9.2.25-1low902774

Notes

[jessie] - jetty8 <ignored> (Harmless information leak)
[jessie] - jetty <ignored> (Harmless information leak)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535670
https://github.com/eclipse/jetty.project/issues/2560
Introduced by https://github.com/eclipse/jetty.project/commit/9f844383cdb528d67ec69895dd8c6117b6e36e13 (v9.3)
Marked as fixed by 9.2.25 at https://www.eclipse.org/jetty/security_reports.php but no related commit found for 9.2.x
[wheezy] - jetty <postponed> (Minor issue, but can be worth fixing with some other issue)

Search for package or bug name: Reporting problems