CVE catalog

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.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 w

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
17.07% · Oct 27, 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 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantomcat9sid9.0.122-1not affected
Debiantomcat9forky9.0.122-1not affected
Debiantomcat9trixie9.0.95-1not affected
Debiantomcat9bookworm9.0.70-2not affected
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
CpetomcatNot reportedNot reportedunknown
Ubuntutomcat714.047.0.42-1vulnerable
Ubuntutomcat714.047.0.47-1vulnerable
Ubuntutomcat714.047.0.50-1vulnerable
Ubuntutomcat714.047.0.52-1vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.1vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.3vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.6vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.7vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.8vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.9vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.10vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.11vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.13vulnerable
Ubuntutomcat714.047.0.52-1ubuntu0.14fixed
Ubuntutomcat816.048.0.26-1vulnerable
Ubuntutomcat816.048.0.28-1vulnerable
Ubuntutomcat816.048.0.30-1vulnerable
Ubuntutomcat816.048.0.32-1vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.1vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.2vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.3vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.4vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.5vulnerable
Ubuntutomcat816.048.0.32-1ubuntu1.6fixed
Ubuntutomcat7pro7.0.64-1vulnerable
Ubuntutomcat7pro7.0.68-1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.3vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm1vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm2vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm3vulnerable
Ubuntutomcat7pro7.0.68-1ubuntu0.4+esm4vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantomcat9sourcesidNot affectedunimportantNot reportedNot reported
Debiantomcat9sourceforkyNot affectedunimportantNot reportedNot reported
Debiantomcat9sourcetrixieNot affectedunimportantNot reportedNot reported
Debiantomcat9sourcebookwormNot affectedunimportantNot reportedNot reported
Ubuntutomcat7deb14.047.0.52-1ubuntu0.14Not reportedUBUNTU-CVE-2018-1304Not reported
Ubuntutomcat8deb16.048.0.32-1ubuntu1.6Not reportedUBUNTU-CVE-2018-1304Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libtomcat9-java]Not affected

    Source package: [tomcat9]

    Details (2)
    • 9.0.70-2 · all · bookworm

      Not affected

      nvd · tomcat9 · debian · bookworm

    • 9.0.70-2 · all · bookworm

      Not affected

      nvd · tomcat9 · debian · bookworm

Observed:

References