{"id":"CVE-2018-1304","revision":null,"records":[{"revision":"e2aa046927974f77b0a94ec3dd66dea3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2018-1304","aliases":[],"title":"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 constrain…","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.","state":0,"publishedAt":"2018-02-28T20:00:00+00:00","modifiedAt":"2026-10-15T17:31:46.613+00:00","affected":[{"ecosystem":"Vendor product","name":"Apache Tomcat","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Apache Tomcat\",\n                    \"vendor\": \"Apache Software Foundation\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"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, 7.0.0 to 7.0.84\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://access.redhat.com/errata/RHSA-2018:1448","https://security.netapp.com/advisory/ntap-20180706-0001/","http://www.securityfocus.com/bid/103170","http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","https://access.redhat.com/errata/RHSA-2018:1449","https://access.redhat.com/errata/RHSA-2018:1450","https://lists.apache.org/thread.html/b1d7e2425d6fd2cebed40d318f9365b44546077e10949b01b1f8a0fb%40%3Cannounce.tomcat.apache.org%3E","https://www.debian.org/security/2018/dsa-4281","https://access.redhat.com/errata/RHSA-2018:2939","https://access.redhat.com/errata/RHSA-2018:0465","https://usn.ubuntu.com/3665-1/","http://www.securitytracker.com/id/1040427","https://access.redhat.com/errata/RHSA-2018:1320","https://access.redhat.com/errata/RHSA-2018:1451","https://lists.debian.org/debian-lts-announce/2018/03/msg00004.html","http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","https://lists.debian.org/debian-lts-announce/2018/07/msg00044.html","https://access.redhat.com/errata/RHSA-2018:0466","https://access.redhat.com/errata/RHSA-2018:1447","https://lists.debian.org/debian-lts-announce/2018/06/msg00008.html","https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E","https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","https://access.redhat.com/errata/RHSA-2019:2205","https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E","https://www.oracle.com/security-alerts/cpuapr2020.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-1304","license":"CVE Program Terms of Use","key":"cve-program:CVE-2018-1304","identifiers":["CVE-2018-1304"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T15:04:17.9226009+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-09T15:04:17.9226009+00:00","lastSuccessAt":"2026-11-09T15:04:18.1621362+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:04:18.1621395+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-49ad16fb0d34ddf0ae41aa46fedfe58e1df7005677e5f3c7ea3ce3ccbb1e0589","complete":true,"records":421457,"lastAttemptAt":"2026-11-09T15:02:15.2169676+00:00","lastSuccessAt":"2026-11-09T15:02:15.1121329+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:02:15.2169676+00:00","snapshotPublishedAt":"2026-11-09T14:25:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-551cc35d748942bda188e63d22470f76","complete":false,"records":13655,"lastAttemptAt":"2026-11-09T15:13:47.3341887+00:00","lastSuccessAt":"2026-11-09T15:13:47.4142257+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:13:47.4142257+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T15:04:17.9226009+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T15:04:17.9226009+00:00","lastSuccessAt":"2026-11-09T15:04:18.1628494+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:04:18.1628497+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-122e73413fbf41e4b6ede4e4f5660885","complete":true,"records":13667,"lastAttemptAt":"2026-11-09T15:04:19.7498555+00:00","lastSuccessAt":"2026-11-09T15:04:19.744+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:04:19.744+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13707,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T15:04:17.5233893+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:04:17.5233893+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T15:02:16.0914115+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:02:16.0914115+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c905fa1bd26c7b261e77cc7202a86dc766ff31c2b096b501f3bf44f561e34970","complete":true,"records":3063,"lastAttemptAt":"2026-11-09T15:04:17.8913143+00:00","lastSuccessAt":"2026-11-09T12:02:21.7931207+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:04:17.8913143+00:00","snapshotPublishedAt":"2026-11-09T11:18:00+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c5775280c9de3927e2aad763cbfbebcc2ac79b903f8410c65ab9bc1096f5fa3d","complete":true,"records":231299,"lastAttemptAt":"2026-11-09T15:04:17.3926133+00:00","lastSuccessAt":"2026-11-09T15:04:15.9950254+00:00","error":null,"lastVerifiedAt":"2026-11-09T15:04:17.3926133+00:00","snapshotPublishedAt":"2026-11-09T14:33:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}