WaratekVRT Sign in

CVE-2018-1304 Apache Tomcat

Affected softwareApache Tomcat
Severity5.9 Medium CVSS 3.0 2 scores
Fixed in9.0.5, 8.5.28, 8.0.51, 7.0.86
Published28 Feb 2018
Updated15 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 17% chance in 30 days A model's forecast, not a report of exploitation. Higher than 97% of all scored CVEs.

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC knqyf263/CVE-2018-1304 3 2018-02-24

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

5.9 MEDIUM v3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 5.9 MEDIUM CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat.embed:tomcat-embed-core 9.0.0 9.0.5 unbounded
org.apache.tomcat.embed:tomcat-embed-core 8.5.0 8.5.28 unbounded
org.apache.tomcat.embed:tomcat-embed-core 8.0.0 8.0.51 unbounded
org.apache.tomcat.embed:tomcat-embed-core 7.0.0 7.0.86 unbounded

Products and versions

11 products, 53 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic ≥ 7.0.0 and ≤ 7.0.84 · 8.0.0:rc1 · ≥ 8.0.0 and ≤ 8.0.49 · ≥ 8.5.0 and ≤ 8.5.27 · 9.0.0:milestone1 · 9.0.0:milestone10 · 9.0.0:milestone11 · 9.0.0:milestone12 · 9.0.0:milestone13 · 9.0.0:milestone14 · 9.0.0:milestone15 · 9.0.0:milestone16 · 9.0.0:milestone17 · 9.0.0:milestone18 · 9.0.0:milestone19 · 9.0.0:milestone2 · 9.0.0:milestone20 · 9.0.0:milestone21 · 9.0.0:milestone22 · 9.0.0:milestone23 · 9.0.0:milestone24 · 9.0.0:milestone25 · 9.0.0:milestone26 · 9.0.0:milestone27 · 9.0.0:milestone3 · 9.0.0:milestone4 · 9.0.0:milestone5 · 9.0.0:milestone6 · 9.0.0:milestone7 · 9.0.0:milestone8 · 9.0.0:milestone9 · ≥ 9.0.0 and ≤ 9.0.4
nvd canonical ubuntu linux generic 14.04 · 16.04 · 17.10 · 18.04
nvd debian debian linux generic 7.0 · 8.0 · 9.0
nvd oracle fusion middleware generic 12.2.1.3.0
nvd oracle hospitality guest access generic 4.2.0 · 4.2.1
nvd oracle micros relate crm software generic 11.4
nvd oracle secure global desktop generic 5.3 · 5.4
osv org.apache.tomcat.embed tomcat-embed-core generic ≥ 7.0.0 and < 7.0.86 · ≥ 8.0.0 and < 8.0.51 · ≥ 8.5.0 and < 8.5.28 · ≥ 9.0.0 and < 9.0.5
nvd redhat jboss enterprise application platform generic 6 · 6.4
nvd redhat jboss enterprise web server generic 3.0.0
nvd redhat jboss middleware generic 1

Earlier manual review

A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.

## Manual Classification Context **Products:** TOMCAT

References

URLTags
https://github.com/apache/tomcat80/commit/9e700b93e3bf5c605267d20568a964169f9e0b79 WEB
https://github.com/apache/tomcat/commit/723ea6a5bc5e7bc49e5ef84273c3b3c164a6a4fd WEB
https://github.com/apache/tomcat/commit/5af7c13cff7cc8366c5997418e820989fabb8f48 WEB
https://github.com/apache/tomcat/commit/2d69fde135302e8cff984bb2131ec69f2e396964 WEB
https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9@%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E WEB

Timeline

Published2018-02-28By the CVE Program.
NVD record modified2026-10-15NVD's own last-modified date for this record.