CVE-2018-8014 — Vulnerability in tomcat-embed-core — CVE Details
The defaults settings for the CORS filter provided in Apache Tomcat are insecure and enable 'supportsCredentials' for all origins
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 20.94% in 30 days. Address in your next planned sprint.
Does your project use an affected org.apache.tomcat.embed:tomcat-embed-core version?
Paste your pom.xml to check it for CVE-2018-8014 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
The defaults settings for the CORS filter provided in Apache Tomcat 9.0.0.M1 to 9.0.8, 8.5.0 to 8.5.31, 8.0.0.RC1 to 8.0.52, 7.0.41 to 7.0.88 are insecure and enable 'supportsCredentials' for all origins. It is expected that users of the CORS filter will have configured it appropriately for their environment rather than using it in the default configuration. Therefore, it is expected that most users will not be impacted by this issue.
Advisory Timeline
- First published October 17, 2018 (2962 days ago).
- Last revised March 12, 2024 — 1973 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 8.5.32 for org.apache.tomcat.embed:tomcat-embed-core -->
<!-- Update pom.xml dependency version to 7.0.88 for org.apache.tomcat.embed:tomcat-embed-core -->
<!-- Update pom.xml dependency version to 8.0.53 for org.apache.tomcat.embed:tomcat-embed-core -->
<!-- Update pom.xml dependency version to 9.0.9 for org.apache.tomcat.embed:tomcat-embed-core -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven · Affected: 8.5.0, 8.5.11, 8.5.12, 8.5.13 (+20 more) | 8.5.32 |
| org.apache.tomcat.embed:tomcat-embed-core Maven · Affected: 7.0.41, 7.0.42, 7.0.47, 7.0.50 (+28 more) | 7.0.88 |
| org.apache.tomcat.embed:tomcat-embed-core Maven · Affected: 8.0.0-RC1, 8.0.0-RC10, 8.0.0-RC3, 8.0.0-RC5 (+40 more) | 8.0.53 |
| org.apache.tomcat.embed:tomcat-embed-core Maven · Affected: 9.0.0.M1, 9.0.0.M10, 9.0.0.M11, 9.0.0.M13 (+22 more) | 9.0.9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1188
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-8014ADVISORY
- https://github.com/apache/tomcat80/commit/2c9d8433bd3247a2856d4b2555447108758e813eWEB
- https://github.com/apache/tomcat/commit/d83a76732e6804739b81d8b2056365307637b42dWEB
- https://github.com/apache/tomcat/commit/5877390a9605f56d9bd6859a54ccbfb16374a78bWEB
- https://github.com/apache/tomcat/commit/60f596a21fd6041335a3a1a4015d4512439cecb5WEB
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/fbfb713e4f8a4c0f81089b89450828011343593800cae3fb629192b1@%3Cannounce.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/fbfb713e4f8a4c0f81089b89450828011343593800cae3fb629192b1%40%3Cannounce.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.debian.org/debian-lts-announce/2018/06/msg00008.htmlWEB
- https://lists.debian.org/debian-lts-announce/2019/08/msg00015.htmlWEB
- https://seclists.org/bugtraq/2019/Dec/43WEB
- https://security.netapp.com/advisory/ntap-20181018-0002WEB
- https://usn.ubuntu.com/3665-1WEB
- https://web.archive.org/web/20181017143233/http://www.securityfocus.com/bid/104203WEB
- https://web.archive.org/web/20201207080723/http://www.securitytracker.com/id/1041888WEB
- https://web.archive.org/web/20201207101131/http://www.securitytracker.com/id/1040998WEB
- https://www.debian.org/security/2019/dsa-4596WEB
- https://www.oracle.com/security-alerts/cpuapr2020.htmlWEB
- https://access.redhat.com/errata/RHSA-2018:2469WEB
- https://access.redhat.com/errata/RHSA-2018:2470WEB
- https://access.redhat.com/errata/RHSA-2018:3768WEB
- https://access.redhat.com/errata/RHSA-2019:0450WEB
- https://access.redhat.com/errata/RHSA-2019:0451WEB
- https://access.redhat.com/errata/RHSA-2019:1529WEB
- https://access.redhat.com/errata/RHSA-2019:2205WEB
- https://github.com/advisories/GHSA-r4x2-3cq5-hqvpADVISORY
- https://github.com/apache/tomcatPACKAGE
- https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a@%3Cdev.tomcat.apache.org%3EWEB
- https://lists.apache.org/thread.html/ac51944aef91dd5006b8510b0bef337adaccfe962fb90e7af9c22db4%40%3Cissues.activemq.apache.org%3EWEB
- https://lists.apache.org/thread.html/ac51944aef91dd5006b8510b0bef337adaccfe962fb90e7af9c22db4@%3Cissues.activemq.apache.org%3EWEB
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3EWEB
- https://tomcat.apache.org/security-7.htmlWEB
- https://tomcat.apache.org/security-8.htmlWEB
- https://tomcat.apache.org/security-9.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlWEB
Frequently Asked Questions
- What is CVE-2018-8014?
- The defaults settings for the CORS filter provided in Apache Tomcat are insecure and enable 'supportsCredentials' for all origins. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2018-8014?
- CVE-2018-8014 affects org.apache.tomcat.embed:tomcat-embed-core. It has a 20.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-8014 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 98.1% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2017-5651CRITICAL
Expected Behavior Violation in Apache Tomcat
- CVE-2026-65905CRITICAL
Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability
- CVE-2026-65637CRITICAL
Apache Tomcat - HTTP/2 no-authority bypass of strict SNI validation
- CVE-2026-65182CRITICAL
Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability
- CVE-2026-68525CRITICAL
Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability
- CVE-2026-42498HIGH
Apache Tomcat - WebSocket authentication header exposure
- CVE-2026-41284HIGH
Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling
- CVE-2025-66614MEDIUM
Apache Tomcat - Client certificate verification bypass