CVE Vulnerabilities

CVE-2018-8039

Improper Handling of Exceptional Conditions

Published: Jul 02, 2018 | Modified: Nov 21, 2024
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
6.5 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Ubuntu
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not handle or incorrectly handles an exceptional condition.

Affected Software

NameVendorStart VersionEnd Version
CxfApache*3.1.16 (excluding)
CxfApache3.2.0 (including)3.2.5 (excluding)
Red Hat Fuse 7.2RedHatcxf-core*
Red Hat JBoss A-MQ 6.3RedHatcxf-core*
Red Hat JBoss EAP 7.1RedHat*
Red Hat JBoss EAP 7.1RedHatcxf-core*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-apache-cxf-0:3.1.16-1.redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-0:7.1.3-4.GA_redhat_3.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wss4j-0:2.1.12-1.redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-xml-security-0:2.0.10-1.redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-activemq-artemis-0:1.5.5.013-1.redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-bouncycastle-0:1.56.0-5.redhat_3.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-guava-libraries-0:25.0.0-1.redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-hibernate-0:5.1.15-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-ironjacamar-0:1.4.10-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-jberet-0:1.2.6-2.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-jboss-ejb-client-0:4.0.11-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-jboss-remoting-0:5.0.8-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-jboss-server-migration-0:1.0.6-4.Final_redhat_4.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-mod_cluster-0:1.3.10-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-narayana-0:5.5.32-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-picketlink-bindings-0:2.5.5-13.SP12_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-picketlink-federation-0:2.5.5-13.SP12_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-resteasy-0:3.0.26-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-undertow-0:1.4.18-7.SP8_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-0:7.1.4-1.GA_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-javadocs-0:7.1.4-2.GA_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-naming-client-0:1.0.9-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-openssl-linux-0:1.0.6-14.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-transaction-client-0:1.0.4-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6RedHateap7-wildfly-web-console-eap-0:2.9.18-1.Final_redhat_1.1.ep7.el6*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-apache-cxf-0:3.1.16-1.redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-0:7.1.3-4.GA_redhat_3.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wss4j-0:2.1.12-1.redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-xml-security-0:2.0.10-1.redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-activemq-artemis-0:1.5.5.013-1.redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-bouncycastle-0:1.56.0-5.redhat_3.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-guava-libraries-0:25.0.0-1.redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-hibernate-0:5.1.15-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-ironjacamar-0:1.4.10-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-jberet-0:1.2.6-2.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-jboss-ejb-client-0:4.0.11-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-jboss-remoting-0:5.0.8-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-jboss-server-migration-0:1.0.6-4.Final_redhat_4.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-mod_cluster-0:1.3.10-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-narayana-0:5.5.32-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-picketlink-bindings-0:2.5.5-13.SP12_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-picketlink-federation-0:2.5.5-13.SP12_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-resteasy-0:3.0.26-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-undertow-0:1.4.18-7.SP8_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-0:7.1.4-1.GA_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-javadocs-0:7.1.4-2.GA_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-naming-client-0:1.0.9-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-openssl-linux-0:1.0.6-14.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-transaction-client-0:1.0.4-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7RedHateap7-wildfly-web-console-eap-0:2.9.18-1.Final_redhat_1.1.ep7.el7*
Red Hat JBoss Fuse 6.3RedHatcxf-core*
Red Hat Single Sign-On 7.2RedHatcxf-core*
Red Hat Single Sign-On 7.2.4 zipRedHatcxf-core*
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7RedHatrhvm-appliance-0:4.2-20180828.0.el7*

References