CVE-2018-8014 — Vulnerability in...
The defaults settings for the CORS filter provided in Apache Tomcat are insecure and enable 'supportsCredentials' for all origins
Summary
Advisory Timeline
- First published October 17, 2018 (2917 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, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core | maven | 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 | 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 | 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 | 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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-8014 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-43515CRITICAL
Apache Tomcat - Security constraints not correctly applied
- CVE-2025-24813CRITICAL
Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
- CVE-2017-5651CRITICAL
Expected Behavior Violation in Apache Tomcat
- CVE-2026-24880HIGH
Apache Tomcat has an HTTP Request/Response Smuggling vulnerability
- CVE-2024-50379HIGH
Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability
- CVE-2026-43513HIGH
Apache Tomcat: LockOutRealm treats user names as case-sensitive
- CVE-2026-29129HIGH
Apache Tomcat: Configured cipher preference order not preserved
- CVE-2024-38286HIGH
Apache Tomcat Allocation of Resources Without Limits or Throttling vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies