CVE-2018-8034 The host name verification missing in Apache Tomcat

High 7.5 Published Updated

Missing hostname verification in Apache Tomcat's WebSocket TLS client allows attackers to bypass security checks and potentially intercept communications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-8034?

CVE-2018-8034 is a high-severity vulnerability in Apache Tomcat, published on 1 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2018-8034?

8 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core. It affects 4 products.

PackageAffectedFixed in
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 7.0.357.0.90
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 7.0.357.0.90
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 8.0.08.0.53
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 8.0.08.0.53
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 8.5.08.5.32
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 8.5.08.5.32
2 more packages
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 9.0.09.0.10
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 9.0.09.0.10

Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux, Oracle Retail Order Broker.

How do I fix CVE-2018-8034?

Upgrade org.apache.tomcat.embed:tomcat-embed-core to a fixed version for your release line: 7.0.90, 8.0.53, 8.5.32 or 9.0.10.

Is CVE-2018-8034 being exploited?

There is no known exploitation of CVE-2018-8034 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as DLA-1453-1, GHSA-46j3-r4pj-4835, UBUNTU-CVE-2018-8034.

Is CVE-2018-8034 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free