ADVISORIES

Vulnerability

CVE-2018-1304

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.

20 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALAS2-2020-1402

    Amazon Linux 2 2017.12 - ALAS2-2020-1402: important priority package update for tomcat

    Important Known exploited CVE-2018-1304CVE-2018-1305CVE-2018-8014CVE-2018-8034 Amazon Linux Updated 28 April 2021
  • DLA-1301-1

    tomcat7 - security update

    CVE-2018-1304CVE-2018-1305 Debian Updated 20 November 2026
  • DLA-1400-1

    tomcat7 - security update

    CVE-2017-12616CVE-2017-7674CVE-2018-1304CVE-2018-1305 Debian Updated 20 November 2026
  • DLA-1450-1

    tomcat8 - security update

    CVE-2018-1304CVE-2018-1305 Debian Updated 20 November 2026
  • DSA-4281-1

    tomcat8 - security update

    CVE-2018-1304CVE-2018-1305CVE-2018-1336CVE-2018-8034 Debian Updated 20 November 2026
  • ELSA-2019-2205

    ELSA-2019-2205: tomcat security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2018-1304CVE-2018-1305CVE-2018-8014CVE-2018-8034 Oracle Linux Updated 13 August 2019
  • GHSA-6rxj-58jh-436r

    Apache Tomcat unauthorized access vulnerability

    Moderate CVE-2018-1304 Maven Updated 29 November 2024
  • RHSA-2018:0466

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1.0 Service Pack 2 security update

    Known exploited CVE-2017-12613CVE-2017-12615CVE-2017-12616CVE-2017-12617 Red Hat Updated 23 November 2026
  • RHSA-2018:1448

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.20 security update

    CVE-2016-4978CVE-2017-15095CVE-2017-17485CVE-2017-3163 Red Hat Updated 23 November 2026
  • RHSA-2018:1449

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.20 security update

    CVE-2016-4978CVE-2017-15095CVE-2017-17485CVE-2017-3163 Red Hat Updated 23 November 2026
  • RHSA-2018:1450

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.20 security update

    CVE-2016-4978CVE-2017-15095CVE-2017-17485CVE-2017-3163 Red Hat Updated 23 November 2026
  • RHSA-2018:1451

    Red Hat Security Advisory: eap6-jboss-ec2-eap security update

    CVE-2016-4978CVE-2017-15095CVE-2017-17485CVE-2017-3163 Red Hat Updated 23 November 2026
  • RHSA-2019:2205

    Red Hat Security Advisory: tomcat security, bug fix, and enhancement update

    CVE-2018-1304CVE-2018-1305CVE-2018-8014CVE-2018-8034 Red Hat Updated 23 November 2026
  • SUSE-SU-2018:0817-1

    Security update for tomcat

    CVE-2017-15706CVE-2018-1304CVE-2018-1305 SUSE Updated 4 February 2026
  • SUSE-SU-2018:1847-1

    Security update for tomcat6

    CVE-2017-5664CVE-2018-1304 SUSE Updated 4 February 2026
  • SUSE-SU-2018:3261-1

    Security update for tomcat

    CVE-2017-15706CVE-2018-11784CVE-2018-1304CVE-2018-1305 SUSE Updated 4 February 2026
  • SUSE-SU-2018:3388-1

    Security update for tomcat

    CVE-2017-15706CVE-2018-11784CVE-2018-1304CVE-2018-1305 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2018-1304

    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…

    Moderate CVE-2018-1304 SUSE Updated 17 October 2026
  • UBUNTU-CVE-2018-1304

    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…

    CVE-2018-1304 Ubuntu Updated 4 June 2026
  • USN-3665-1

    tomcat7, tomcat8 vulnerabilities

    Known exploited CVE-2017-12616CVE-2017-12617CVE-2017-15706CVE-2018-1304 Ubuntu Updated 27 April 2026

References