Live threats

All CVEs / Apache

CVE-2018-1304Apache Tomcat

Medium 5.9 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachetomcat≥ 7.0.0 ≤ 7.0.84
apachetomcat≥ 8.0.0 ≤ 8.0.49
apachetomcat≥ 8.5.0 ≤ 8.5.27
apachetomcat≥ 9.0.0 ≤ 9.0.4
apachetomcat8.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
redhatjboss_enterprise_application_platform6
redhatjboss_enterprise_application_platform6.4
redhatjboss_enterprise_web_server3.0.0
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04
oraclefusion_middleware12.2.1.3.0
oraclehospitality_guest_access4.2.0
oraclehospitality_guest_access4.2.1
oraclemicros_relate_crm_software11.4
oraclesecure_global_desktop5.3
oraclesecure_global_desktop5.4
redhatjboss_middleware1

Official sources

References

Links published by the sources. Open them with care.