CVE-2018-1304Apache Tomcat
Medium 5.9 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 5.9
- EPSS
- 17.1% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Feb 28, 2018
- Updated
- Oct 15, 2026
- Category
- Server · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 9.0.0 < 9.0.5 |
9.0.5 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 8.5.0 < 8.5.28 |
8.5.28 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 8.0.0 < 8.0.51 |
8.0.51 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 7.0.0 < 7.0.86 |
7.0.86 |
— |
Per OSV / GitHub Advisories (GHSA-6rxj-58jh-436r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 7.0.0 ≤ 7.0.84 |
| apache | tomcat | ≥ 8.0.0 ≤ 8.0.49 |
| apache | tomcat | ≥ 8.5.0 ≤ 8.5.27 |
| apache | tomcat | ≥ 9.0.0 ≤ 9.0.4 |
| apache | tomcat | 8.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| redhat | jboss_enterprise_application_platform | 6 |
| redhat | jboss_enterprise_application_platform | 6.4 |
| redhat | jboss_enterprise_web_server | 3.0.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| canonical | ubuntu_linux | 18.04 |
| oracle | fusion_middleware | 12.2.1.3.0 |
| oracle | hospitality_guest_access | 4.2.0 |
| oracle | hospitality_guest_access | 4.2.1 |
| oracle | micros_relate_crm_software | 11.4 |
| oracle | secure_global_desktop | 5.3 |
| oracle | secure_global_desktop | 5.4 |
| redhat | jboss_middleware | 1 |
Official sources
References
Links published by the sources. Open them with care.
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.debian.org Issue Tracking Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com Patch Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com
- www.oracle.com Patch Third Party Advisory
- www.oracle.com