{"cve":"CVE-2018-1304","nvd":{"published":"2018-02-28T20:29:00.227","modified":"2026-10-15T18:17:18.790","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":[],"references":["http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","http://www.securityfocus.com/bid/103170","http://www.securitytracker.com/id/1040427","https://access.redhat.com/errata/RHSA-2018:0465"],"products":["apache:tomcat","canonical:ubuntu_linux","debian:debian_linux","oracle:fusion_middleware","oracle:hospitality_guest_access","oracle:micros_relate_crm_software","oracle:secure_global_desktop","redhat:jboss_enterprise_application_platform","redhat:jboss_enterprise_web_server","redhat:jboss_middleware"],"source":"nvd","synced_at":"2026-10-19T20:48:50.842038930+00:00"},"epss":{"cve":"CVE-2018-1304","score":0.1707,"percentile":0.97056,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6rxj-58jh-436r","url":"https://osv.dev/vulnerability/GHSA-6rxj-58jh-436r","summary":"Apache Tomcat unauthorized access vulnerability","modified":"2024-11-29T05:39:06.932138Z","packages":[{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","ranges":[">=9.0.0 <9.0.5"],"fixed":["9.0.5"]},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","ranges":[">=8.5.0 <8.5.28"],"fixed":["8.5.28"]},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","ranges":[">=8.0.0 <8.0.51"],"fixed":["8.0.51"]},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","ranges":[">=7.0.0 <7.0.86"],"fixed":["7.0.86"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}