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.
CVE-2018-1304
This medium-severity CVE scores 5.9 under NVD CVSS v3. EPSS exploit probability: 17.4%, top 3% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EG Risk
- 47(Track)EG Risk 47/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity59% × 45%Exploitation40% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 96.8%
- KEV
- Not listed
Published
February 28, 2018
Last Modified
November 21, 2024
References (80)
- security@apachehttp://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- security@apachehttp://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- security@apachehttp://www.securityfocus.com/bid/103170
- security@apachehttp://www.securitytracker.com/id/1040427
- security@apachehttps://access.redhat.com/errata/RHSA-2018:0465
- security@apachehttps://access.redhat.com/errata/RHSA-2018:0466
- security@apachehttps://access.redhat.com/errata/RHSA-2018:1320
- security@apachehttps://access.redhat.com/errata/RHSA-2018:1447
- security@apachehttps://access.redhat.com/errata/RHSA-2018:1448
- security@apachehttps://access.redhat.com/errata/RHSA-2018:1449
- security@apachehttps://access.redhat.com/errata/RHSA-2018:1450
- security@apachehttps://access.redhat.com/errata/RHSA-2018:1451
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2939
- security@apachehttps://access.redhat.com/errata/RHSA-2019:2205
- security@apachehttps://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | tomcat8-user (8.0.32-1ubuntu1.6) @ xenial | 2026-05-28 | ubuntu |
| redhat | tomcat-0:7.0.76-9.el7 | 2019-08-06 | redhat |
| redhat | patch | 2018-10-17 | redhat |
| redhat | picketbox-0:4.1.7-1.Final_redhat_1.1.ep6.el6 | 2018-05-14 | redhat |
| redhat | picketbox-0:4.1.7-1.Final_redhat_1.1.ep6.el7 | 2018-05-14 | redhat |
| redhat | picketbox-0:4.1.7-1.Final_redhat_1.1.ep6.el5 | 2018-05-14 | redhat |
| redhat | jbossweb | 2018-05-14 | redhat |
| redhat | jboss-ec2-eap-0:7.5.20-1.Final_redhat_1.ep6.el6 | 2018-05-14 | redhat |
| redhat | patch | 2018-05-03 | redhat |
| redhat | patch | 2018-03-07 | redhat |
| redhat | tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el7 | 2018-03-07 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core | 7.0.0 ... 7.0.85 (59 versions) | 7.0.86 | — |
All Vendor Advisories
(11)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2018:0465MODERATE2018-01-31
RHSA-2018:0465 — Moderate
- Red HatRHSA-2018:0466MODERATE2018-01-31
RHSA-2018:0466 — Moderate
- Red HatRHSA-2018:1320MODERATE2018-01-31
RHSA-2018:1320 — Moderate
- Red HatRHSA-2018:1447MODERATE2018-01-31
RHSA-2018:1447 — Moderate
- Red HatRHSA-2018:1448MODERATE2018-01-31
RHSA-2018:1448 — Moderate
- Red HatRHSA-2018:1449MODERATE2018-01-31
RHSA-2018:1449 — Moderate
- Red HatRHSA-2018:1450MODERATE2018-01-31
RHSA-2018:1450 — Moderate
- Red HatRHSA-2018:1451MODERATE2018-01-31
RHSA-2018:1451 — Moderate
- Red HatRHSA-2018:2939MODERATE2018-01-31
RHSA-2018:2939 — Moderate
- Red HatRHSA-2019:2205MODERATE2018-01-31
RHSA-2019:2205 — Moderate
- UbuntuUSN-3665-1MEDIUM
Tomcat vulnerabilities
Data Freshness Timeline
(refreshed 12× in last 7d / 50× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 01:33 UTCEG score recompute
- 2026-07-22 22:13 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 16:48 UTCOSV refresh
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
Show 74 moreShow fewer
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 12:56 UTCOSV refresh
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 00:13 UTCOSV refresh
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 10:57 UTCEG score recompute
- 2026-05-28 10:57 UTCVendor advisory
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 22:12 UTCOSV refresh
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Open source ↗GitHub PoCknqyf263/CVE-2018-1304First seen Feb 24, 2018
Frequently asked(5)
What is CVE-2018-1304?
When was CVE-2018-1304 disclosed?
Is CVE-2018-1304 actively exploited?
What is the CVSS score of CVE-2018-1304?
How do I remediate CVE-2018-1304?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-1304
Is Your Infrastructure Affected by CVE-2018-1304?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.