ADVISORIES

Vulnerability

CVE-2018-8039

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.

5 advisories report this vulnerability, across 2 ecosystems.

High severity All Red Hat 4Maven 1

Advisories

  • GHSA-jc7r-v6fg-2gpf

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

    High CVE-2018-8039 Maven Updated 29 May 2025
  • RHSA-2018:2276

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1 security update

    CVE-2018-10862CVE-2018-8039 Red Hat Updated 13 November 2026
  • RHSA-2018:2423

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.4 on RHEL 6 security update

    CVE-2017-12624CVE-2018-1000180CVE-2018-10237CVE-2018-10862 Red Hat Updated 23 November 2026
  • RHSA-2018:2424

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.4 on RHEL7 security update

    CVE-2017-12624CVE-2018-1000180CVE-2018-10237CVE-2018-10862 Red Hat Updated 23 November 2026
  • RHSA-2018:2643

    Red Hat Security Advisory: rhvm-appliance security update

    CVE-2018-1000180CVE-2018-10237CVE-2018-1067CVE-2018-10862 Red Hat Updated 23 November 2026

References