CVE-2018-1304: The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.…

CVE-2018-1304 affects 13 listed versions of Apache Tomcat, Red Hat JBoss EAP in the Dawnsentry catalogue.

5.9CVSS medium
None knownexploitation
17%EPSS (next 30 days)
28 February 2018published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache Tomcat

12 of 185 listed versions are affected. No fixed release is named. The newest release, 11.0.29, is not affected.

8.0.49 8.0.47 8.0.46 8.0.44 8.0.43 8.0.42 8.0.41 8.0.40 8.0.39 8.0.38 8.0.37 8.0.36

Red Hat JBoss EAP

1 of 104 listed versions are affected. No fixed release is named. The newest release, 8.1.9.1, is not affected.

6.4

What it is

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD)

Published by Apache Software Foundation on 28 February 2018. Last changed 15 October 2026.

Sources

Check one version you run: look CVE-2018-1304 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.