CVE-2018-8034
The host name verification missing in Apache Tomcat
Reported by apache · Published August 1, 2018
tomcat-embed-core is fixed in 9.0.10, 8.5.32, 8.0.53 and 1 more (Maven Central)
The host name verification when using TLS with the WebSocket client was missing. It is now enabled by default. Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.9, 8.5.0 to 8.5.31, 8.0.0.RC1 to 8.0.52, and 7.0.35 to 7.0.88.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core | Maven Central | 9.0.10, 8.5.32, 8.0.53, 7.0.90 |
| org.apache.tomcat:tomcat | Maven Central | 9.0.9, 8.5.31, 8.0.52, 7.0.88 |
| tomcat-admin-webapps | Amazon Linux | 7.0.76-10.amzn2.0.1 |
| tomcat-webapps | Amazon Linux | 7.0.76-10.amzn2.0.1 |
| tomcat | Amazon Linux | 7.0.76-10.amzn2.0.1 |
| tomcat-el-2.2-api | Amazon Linux | 7.0.76-10.amzn2.0.1 |
| tomcat8 | Ubuntu:16.04:LTS | 8.0.32-1ubuntu1.7 |
| tomcat7 | Ubuntu:14.04:LTS | 7.0.52-1ubuntu0.15 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1 to 9.0.9, 8.5.0 to 8.5.31, 8.0.0.RC1 to 8.0.52 |
| amazon:2 | tomcat-admin-webapps | 0 |
| amazon:2 | tomcat-webapps | 0 |
| amazon:2 | tomcat | 0 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.0, 8.0.0, 8.5.0 |
| Maven | org.apache.tomcat:tomcat | 8.5.0, 9.0.0, 8.0.0 |
| amazon:2 | tomcat-el-2.2-api | 0 |
| Apache Software Foundation | Apache Tomcat | 7.0.35, 9.0.0.M1, 8.5.0 |
| amazon:2 | tomcat-lib | 0 |
| amazon:2 | tomcat-docs-webapp | 0 |
| amazon:2 | tomcat-javadoc | 0 |
| amazon:2 | tomcat-jsp-2.2-api | 0 |
| amazon:2 | tomcat-jsvc | 0 |
| amazon:2 | tomcat-servlet-3.0-api | 0 |
Timeline
- Jul 22, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (18 in total, the first dated here)
- Mar 6, 2026 Security Advisory (20 in total, the first dated here)
- Aug 2, 2026 CVE Updated
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-8034
vulnetix vdb fixes CVE-2018-8034
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-8034/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3723-1 vendor-advisoryx_refsource_UBUNTU
- [www-announce] 20180722 [SECURITY] CVE-2018-8034 Apache Tomcat - Security Constraint Bypass mailing-listx_refsource_MLIST
- RHSA-2019:0451 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180730 [SECURITY] [DLA 1453-1] tomcat7 security update mailing-listx_refsource_MLIST
- DSA-4281 vendor-advisoryx_refsource_DEBIAN
- 1041374 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- RHSA-2019:0131 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2019:0130 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:0450 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180902 [SECURITY] [DLA 1491-1] tomcat8 security update mailing-listx_refsource_MLIST
- 104895 vdb-entryx_refsource_BID
- [tomcat-dev] 20190319 svn commit: r1855831 [24/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [23/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857496 [3/4] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
…and 47 more