cve.bz

CVE-2018-12536

5.3 mediumEPSS 4.2%Fix available

Medium (5.3). EPSS 4.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.eclipse.jetty:jetty-server 9.3.24.v20180605, 9.4.11.v20180605.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
4.2% (unchanged from 4.2% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-209 Generation of Error Message Containing Sensitive Information
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12536 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12536?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12536?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12536 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Eclipse Foundation Eclipse Jettythrough 9.2.0
The Eclipse Foundation Eclipse Jettyfrom 9.3.0 before unspecified
The Eclipse Foundation Eclipse Jettybefore 9.3.24
The Eclipse Foundation Eclipse Jettyfrom 9.4.0 before unspecified
The Eclipse Foundation Eclipse Jettybefore 9.4.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9rgv-h7x4-qw8gMavenorg.eclipse.jetty:jetty-server>=9.4.0 <9.4.11.v201806059.4.11.v20180605
GHSA-9rgv-h7x4-qw8gMavenorg.eclipse.jetty:jetty-server>=9.0.0 <9.3.24.v201806059.3.24.v20180605

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9jetty99.2.30-0+deb9u1DLA-2661-1
Debian12, 13, 14jetty99.2.25-1DEBIAN-CVE-2018-12536
Ubuntu16.04:LTSjetty9no fix listedUBUNTU-CVE-2018-12536

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Information disclosure occurs when java.nio.file.InvalidPathException occurs and is handled by the default Jetty error handler. To protect against this, a custom error handler can be configured for that particular error or for a larger set of errors according to the documentation link below. Red Hat Product Security advises that production deployments on Jetty use custom error handlers to limit the information disclosed and to ensure effective logging of error conditions.

http://www.eclipse.org/jetty/documentation/current/custom-error-pages.html

ProductPackageStateAdvisory
Red Hat Fuse 7.6.0Fixed 2020-03-26RHSA-2020:0983
Red Hat Enterprise Linux 6jetty-eclipseNot affected
Red Hat Enterprise Linux 7jettyWill not fix
Red Hat Fuse 7jettyAffected
Red Hat JBoss Fuse 6jettyWill not fix
Red Hat Satellite 5jettyWill not fix
Red Hat Software Collectionsrh-java-common-jettyWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-12536.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-54 Query System for Information Likelihood: High · Severity: Low
  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON