CVE-2018-1304

published 28 Feb 2018 · updated 15 Oct 2026

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…

5.5MediumEPSS 17%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 17%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation=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, 7.0.0 to 7.0.84

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-1304 severity on Zeptric[![CVE-2018-1304](https://zeptric.io/badge/cve/CVE-2018-1304.svg)](https://zeptric.io/cve/CVE-2018-1304)