CVE-2018-1304 Apache Tomcat
| Affected software | Apache Tomcat |
|---|---|
| Severity | 5.9 Medium CVSS 3.0 2 scores |
| Fixed in | 9.0.5, 8.5.28, 8.0.51, 7.0.86 |
| Published | 28 Feb 2018 |
| Updated | 15 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.
Exploitation status
- 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.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | knqyf263/CVE-2018-1304 | 3 | 2018-02-24 |
Waratek protection
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
CVSS
5.9 MEDIUM v3.0CVSS: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.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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| Package | Introduced | Fixed | Last 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| Source | Vendor | Product | Scheme | Affected 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
Timeline
Timeline
| Published | 2018-02-28 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-15 | NVD's own last-modified date for this record. |