cve.bz

CVE-2018-8034 Improper Certificate Validation

7.5 highEPSS 21%Fix available

High (7.5). EPSS 21% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat.embed:tomcat-embed-core 7.0.90, 8.0.53, 8.5.32.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
21% (unchanged from 21% a week ago; 21% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-8034 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8034?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8034?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-8034 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcatfrom 7.0.35 through 7.0.88
apache:tomcatfrom 8.0.0 through 8.0.52
apache:tomcatfrom 8.5.0 through 8.5.31
apache:tomcatfrom 9.0.1 through 9.0.9
apache:tomcat8.0.0:rc1
apache:tomcat8.0.0:rc10
apache:tomcat8.0.0:rc2
apache:tomcat8.0.0:rc3
apache:tomcat8.0.0:rc4
apache:tomcat8.0.0:rc5
apache:tomcat8.0.0:rc6
apache:tomcat8.0.0:rc7
apache:tomcat8.0.0:rc8
apache:tomcat8.0.0:rc9
apache:tomcat9.0.0:milestone1
apache:tomcat9.0.0:milestone10
apache:tomcat9.0.0:milestone11
apache:tomcat9.0.0:milestone12
apache:tomcat9.0.0:milestone13
apache:tomcat9.0.0:milestone14
apache:tomcat9.0.0:milestone15
apache:tomcat9.0.0:milestone16
apache:tomcat9.0.0:milestone17
apache:tomcat9.0.0:milestone18
apache:tomcat9.0.0:milestone19
apache:tomcat9.0.0:milestone2
apache:tomcat9.0.0:milestone20
apache:tomcat9.0.0:milestone21
apache:tomcat9.0.0:milestone22
apache:tomcat9.0.0:milestone23
apache:tomcat9.0.0:milestone24
apache:tomcat9.0.0:milestone25
apache:tomcat9.0.0:milestone26
apache:tomcat9.0.0:milestone27
apache:tomcat9.0.0:milestone3
apache:tomcat9.0.0:milestone4
apache:tomcat9.0.0:milestone5
apache:tomcat9.0.0:milestone6
apache:tomcat9.0.0:milestone7
apache:tomcat9.0.0:milestone8
apache:tomcat9.0.0:milestone9
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
debian:debian_linux8.0
debian:debian_linux9.0
oracle:retail_order_broker5.1
oracle:retail_order_broker5.2
oracle:retail_order_broker15.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-46j3-r4pj-4835Mavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.0 <9.0.109.0.10
GHSA-46j3-r4pj-4835Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0 <8.5.328.5.32
GHSA-46j3-r4pj-4835Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.0.0 <8.0.538.0.53
GHSA-46j3-r4pj-4835Mavenorg.apache.tomcat.embed:tomcat-embed-core>=7.0.35 <7.0.907.0.90

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8tomcat77.0.56-3+really7.0.90-1DLA-1453-1
Debian8tomcat88.0.14-1+deb8u13DLA-1491-1
Debian9tomcat88.5.14-1+deb9u3DSA-4281-1
Ubuntu14.04:LTStomcat77.0.52-1ubuntu0.15UBUNTU-CVE-2018-8034 USN-3723-1
Ubuntu16.04:LTStomcat88.0.32-1ubuntu1.7UBUNTU-CVE-2018-8034 USN-3723-1
Ubuntu18.04:LTStomcat88.5.39-1ubuntu1~18.04.1UBUNTU-CVE-2018-8034
UbuntuPro:16.04:LTStomcat7no fix listedUBUNTU-CVE-2018-8034
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moretomcat, tomcat-lib, tomcat-jsvc and 7 more0:7.0.76-9.el7RHSA-2019:2205
Red Hatenterprise_linux:8::appstreamapache-commons-collections0:3.2.2-10.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamapache-commons-lang0:2.6-21.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreambea-stax, bea-stax-api0:1.2.0-16.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamglassfish-fastinfoset0:1.2.13-9.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamglassfish-jaxb, glassfish-jaxb-core, glassfish-jaxb-txw2 and 1 more0:2.2.11-11.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamglassfish-jaxb-api0:2.2.12-8.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamjackson-core, jackson-databind, jackson-annotations and 2 more0:2.9.8-1.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamjackson-module-jaxb-annotations0:2.7.6-4.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamjakarta-commons-httpclient1:3.1-28.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreamjavassist, javassist-javadoc0:3.18.1-8.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
Red Hatenterprise_linux:8::appstreampki-servlet-4.0-api, pki-servlet-container1:9.0.7-14.module+el8.0.0+3248+9d514f3bRHSA-2019:1529
62 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Web and Scripting 15tomcat9.0.10-3.7.1SUSE-SU-2018:3011-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1tomcat8.0.53-10.35.1SUSE-SU-2018:3388-1
SUSELinux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3tomcat8.0.53-29.13.1SUSE-SU-2018:2699-1
SUSELinux Enterprise Server 12-LTSStomcat7.0.90-7.23.1SUSE-SU-2018:3261-1
openSUSETumbleweedtomcat9.0.36-8.4openSUSE-SU-2024:11468-1
openSUSETumbleweedtomcat1010.1.14-1.1openSUSE-SU-2024:13441-1
AlmaLinux8apache-commons-collections3.2.2-10.module_el8.5.0+150+5f0dbea0ALSA-2019:1529
AlmaLinux8apache-commons-collections3.2.2-10.module_el8.5.0+2577+9e95fe00ALSA-2019:1529
AlmaLinux8apache-commons-lang2.6-21.module_el8.5.0+150+5f0dbea0ALSA-2019:1529
AlmaLinux8apache-commons-lang2.6-21.module_el8.5.0+2577+9e95fe00ALSA-2019:1529
AlmaLinux8bea-stax-api1.2.0-16.module_el8.5.0+150+5f0dbea0ALSA-2019:1529
AlmaLinux8bea-stax-api1.2.0-16.module_el8.5.0+2577+9e95fe00ALSA-2019:1529
AlmaLinux8glassfish-fastinfoset1.2.13-9.module_el8.5.0+150+5f0dbea0ALSA-2019:1529
AlmaLinux8glassfish-fastinfoset1.2.13-9.module_el8.5.0+2577+9e95fe00ALSA-2019:1529
AlmaLinux8glassfish-jaxb-api2.2.12-8.module_el8.5.0+150+5f0dbea0ALSA-2019:1529
AlmaLinux8glassfish-jaxb-api2.2.12-8.module_el8.5.0+2577+9e95fe00ALSA-2019:1529
AlmaLinux8glassfish-jaxb-core, glassfish-jaxb-txw2, glassfish-jaxb-runtime2.2.11-11.module_el8.5.0+150+5f0dbea0ALSA-2019:1529
AlmaLinux8glassfish-jaxb-core, glassfish-jaxb-txw2, glassfish-jaxb-runtime2.2.11-11.module_el8.5.0+2577+9e95fe00ALSA-2019:1529
29 more for AlmaLinux in the JSON.
Rocky Linux8apache-commons-collections0:3.2.2-10.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8apache-commons-collections0:3.2.2-10.module+el8.3.0+74+855e3f5dRLSA-2019:1529
Rocky Linux8apache-commons-lang0:2.6-21.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8apache-commons-lang0:2.6-21.module+el8.3.0+74+855e3f5dRLSA-2019:1529
Rocky Linux8bea-stax0:1.2.0-16.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8glassfish-fastinfoset0:1.2.13-9.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8glassfish-jaxb0:2.2.11-11.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8glassfish-jaxb-api0:2.2.12-8.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8jackson-module-jaxb-annotations0:2.7.6-4.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8jakarta-commons-httpclient1:3.1-28.module+el8.3.0+53+ea062990RLSA-2019:1529
Rocky Linux8jakarta-commons-httpclient1:3.1-28.module+el8.3.0+74+855e3f5dRLSA-2019:1529
Rocky Linux8javassist0:3.18.1-8.module+el8.3.0+53+ea062990RLSA-2019:1529
21 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Tomcat 6, and Red Hat products shipping it, are not affected by this CVE. Tomcat 7, 8, and 9, as well as Red Hat Products shipping them, are affected. Affected products, including Red Hat JBoss Web Server 3 and 5, Enterprise Application Server 6, and Fuse 7, may provide fixes for this issue in a future release.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7tomcat-0:7.0.76-9.el7Fixed 2019-08-06RHSA-2019:2205
Red Hat Enterprise Linux 8pki-deps:10.6-8000020190524054914.55190bc5Fixed 2019-06-18RHSA-2019:1529
Red Hat Fuse 7.5.0tomcatFixed 2019-11-14RHSA-2019:3892
Red Hat JBoss Enterprise Application Platform 6.4jbosswebFixed 2019-05-13RHSA-2019:1162
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5apache-cxf-0:2.7.18-8.SP7_redhat_1.1.ep6.el5Fixed 2019-05-13RHSA-2019:1159
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5dom4j-eap6-0:1.6.1-22.redhat_9.1.ep6.el5Fixed 2019-05-13RHSA-2019:1159
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5hornetq-0:2.3.25-28.SP29_redhat_1.1.ep6.el5Fixed 2019-05-13RHSA-2019:1159
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5ironjacamar-eap6-0:1.0.43-1.Final_redhat_1.1.ep6.el5Fixed 2019-05-13RHSA-2019:1159
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5jboss-as-appclient-0:7.5.22-1.Final_redhat_1.1.ep6.el5Fixed 2019-05-13RHSA-2019:1159
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5jbossas-appclient-0:7.5.22-2.Final_redhat_1.1.ep6.el5Fixed 2019-05-13RHSA-2019:1159
Red Hat BPM Suite 6tomcatNot affected
Red Hat Enterprise Linux 6tomcat6Not affected
Red Hat JBoss BRMS 5jbosswebNot affected
Red Hat JBoss BRMS 6tomcatNot affected
Red Hat JBoss Data Grid 6jbosswebNot affected
Red Hat JBoss Data Grid 7tomcatNot affected
Red Hat JBoss Data Virtualization 6jbosswebWill not fix
Red Hat JBoss Enterprise Application Platform 5jbosswebNot affected
Red Hat JBoss Enterprise Web Server 2tomcat6Not affected
Red Hat JBoss Enterprise Web Server 2tomcat7Will not fix
239 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-8034.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON