Skip to content

CVE-2018-8039 Apache CXF TLS hostname verification does not work correctly with com.sun.net.ssl.*

HighCVSS 8.1 EPSS 8.2%
Published
Updated
Exploit status
No public exploit known

Description

It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");'. When this system property is set, CXF uses some reflection to try to make the HostnameVerifier work with the old com.sun.net.ssl.HostnameVerifier interface. However, the default HostnameVerifier implementation in CXF does not implement the method in this interface, and an exception is thrown. However, in Apache CXF prior to 3.2.5 and 3.1.16 the exception is caught in the reflection code and not properly propagated. What this means is that if you are using the com.sun.net.ssl stack with CXF, an error with TLS hostname verification will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.

Affected products

ProductAffected versionsFixed in
org.apache.cxf/cxf-rt-transports-http(Maven) >= 3.2.0, < 3.2.5 3.2.5
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.2.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.2.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.2.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.2.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.2.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) < 3.1.16 3.1.16
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.12 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.13 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.0.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.8 No fix listed
Show 175 more
ProductAffected versionsFixed in
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.1.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.12 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.2.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.3.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.4.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.5.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.12 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.13 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.14 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.15 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.16 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.17 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.6.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.12 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.13 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.14 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.15 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.16 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.17 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.18 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 2.7.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.0-milestone1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.0-milestone2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.12 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.13 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.14 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.15 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.16 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.0.9 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.0 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.1 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.10 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.11 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.12 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.13 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.14 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.15 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.2 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.3 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.4 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.5 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.6 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.7 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.8 No fix listed
org.apache.cxf/cxf-rt-transports-http(Maven) = 3.1.9 No fix listed
org.apache.cxf/apache-cxf(Maven) >= 3.2.0, < 3.2.5 3.2.5
org.apache.cxf/apache-cxf(Maven) = 3.2.0 No fix listed
org.apache.cxf/apache-cxf(Maven) = 3.2.1 No fix listed
org.apache.cxf/apache-cxf(Maven) = 3.2.2 No fix listed
org.apache.cxf/apache-cxf(Maven) = 3.2.3 No fix listed
org.apache.cxf/apache-cxf(Maven) = 3.2.4 No fix listed
org.apache.cxf/apache-cxf(Maven) < 3.1.16 3.1.16
org.apache.cxf/apache-cxf(Maven) = 2.0.10 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.11 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.12 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.13 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.6 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.7 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.8 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.0.9 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.1 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.10 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.2 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.3 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.4 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.5 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.6 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.7 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.8 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.1.9 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.1 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.10 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.11 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.12 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.2 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.3 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.4 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.5 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.6 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.7 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.8 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.2.9 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.0 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.1 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.10 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.11 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.2 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.3 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.4 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.5 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.6 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.7 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.8 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.3.9 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.4.0 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.4.1 No fix listed
org.apache.cxf/apache-cxf(Maven) = 2.4.10 No fix listed

References