VYPR
Medium severity5.9NVD Advisory· Published Feb 28, 2018· Updated Jun 17, 2026

CVE-2018-1304

CVE-2018-1304

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.tomcat.embed:tomcat-embed-coreMaven
>= 9.0.0, < 9.0.59.0.5
org.apache.tomcat.embed:tomcat-embed-coreMaven
>= 8.5.0, < 8.5.288.5.28
org.apache.tomcat.embed:tomcat-embed-coreMaven
>= 8.0.0, < 8.0.518.0.51
org.apache.tomcat.embed:tomcat-embed-coreMaven
>= 7.0.0, < 7.0.867.0.86

Affected products

12

Patches

Vulnerability mechanics

References

67

News mentions

0

No linked articles in our index yet.