VDB

CVE-2018-1304

CVE-2018-1304 PUBLISHED CVSS 5.900000095367432 MEDIUM

Apache Tomcat unauthorized access vulnerability

Reported by apache · Published February 28, 2018

tomcat is fixed in 9.0.4, 8.5.27, 8.0.49 and 1 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.tomcat:tomcatMaven Central9.0.4, 8.5.27, 8.0.49, 7.0.84
tomcat-jsp-2.2-apiAmazon Linux7.0.76-10.amzn2.0.1
tomcat-jsvcAmazon Linux7.0.76-10.amzn2.0.1
tomcat-docs-webappAmazon Linux7.0.76-10.amzn2.0.1
tomcat-admin-webappsAmazon Linux7.0.76-10.amzn2.0.1
tomcat-javadocAmazon Linux7.0.76-10.amzn2.0.1
tomcat-libAmazon Linux7.0.76-10.amzn2.0.1
tomcat8Ubuntu:16.04:LTS8.0.32-1ubuntu1.6

Risk scores

CVSS 3.0
5.900000095367432
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
Apache Software FoundationApache TomcatApache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49, 7.0.0 to 7.0.84
amazon:2tomcat-jsp-2.2-api0
Mavenorg.apache.tomcat:tomcat9.0.0, 8.5.0, 8.0.0
amazon:2tomcat-jsvc0
amazon:2tomcat-docs-webapp0
amazon:2tomcat-admin-webapps0
amazon:2tomcat-javadoc0
amazon:2tomcat-lib0
Apache Software FoundationApache TomcatApache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49, 7.0.0 to 7.0.84
amazon:2tomcat0
amazon:2tomcat-el-2.2-api0
amazon:2tomcat-webapps0
amazon:2tomcat-servlet-3.0-api0
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.0, 8.5.0, 8.0.0

Timeline

  • Feb 28, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jul 21, 2024 CVE Updated
  • Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (13 in total, the first dated here)
  • Sep 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1304
vulnetix vdb fixes CVE-2018-1304

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1304/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 39 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›