Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1595332 - (CVE-2018-8039) CVE-2018-8039 apache-cxf: TLS hostname verification does not work correctly with com.sun.net.ssl.*
CVE-2018-8039 apache-cxf: TLS hostname verification does not work correctly w...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20180629,repo...
: Security
Depends On: 1596425 1597534 1597535
Blocks: 1595337
  Show dependency treegraph
 
Reported: 2018-06-26 12:05 EDT by Laura Pardo
Modified: 2018-10-19 17:51 EDT (History)
76 users (show)

See Also:
Fixed In Version: apache-cxf 3.2.5, apache-cxf 3.1.16
Doc Type: If docs needed, set a value
Doc Text:
It was discovered that when Apache CXF is configured to use the system property com.sun.net.ssl.internal.www.protocol ,it uses reflection to make the HostnameVerifier work with old com.sun.net.ssl.HostnameVerifier interface. Although the CXF implementation throws an exception, which is caught in the reflection code but it is not properly propagated, this can lead to a man-in-the-middle attack.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2276 None None None 2018-07-26 11:48 EDT
Red Hat Product Errata RHSA-2018:2277 None None None 2018-07-26 11:40 EDT
Red Hat Product Errata RHSA-2018:2279 None None None 2018-07-26 11:49 EDT
Red Hat Product Errata RHSA-2018:2423 None None None 2018-08-15 07:32 EDT
Red Hat Product Errata RHSA-2018:2424 None None None 2018-08-15 07:34 EDT
Red Hat Product Errata RHSA-2018:2425 None None None 2018-08-15 07:21 EDT
Red Hat Product Errata RHSA-2018:2428 None None None 2018-08-15 07:29 EDT
Red Hat Product Errata RHSA-2018:2643 None None None 2018-09-04 09:46 EDT

  None (edit)
Description Laura Pardo 2018-06-26 12:05:31 EDT
A flaw was found in the way Apache CXF handle exceptions when CXF is configured to use the com.sun.net.ssl implementation via System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol") function. 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 therefore an exception is thrown. The exception is caught in the reflection code but not properly propagated which leaves CXF client subject to man-in-the-middle attacks.


Upstream Patch:
https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d7
Comment 3 Sam Fowler 2018-06-28 20:15:19 EDT
Created cxf tracking bugs for this issue:

Affects: fedora-all [bug 1596425]
Comment 7 errata-xmlrpc 2018-07-26 11:39:50 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2018:2277 https://access.redhat.com/errata/RHSA-2018:2277
Comment 8 errata-xmlrpc 2018-07-26 11:48:36 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7
  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6

Via RHSA-2018:2276 https://access.redhat.com/errata/RHSA-2018:2276
Comment 9 errata-xmlrpc 2018-07-26 11:49:28 EDT
This issue has been addressed in the following products:

  Red Hat Single Sign-On

Via RHSA-2018:2279 https://access.redhat.com/errata/RHSA-2018:2279
Comment 11 errata-xmlrpc 2018-08-15 07:20:51 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2018:2425 https://access.redhat.com/errata/RHSA-2018:2425
Comment 12 errata-xmlrpc 2018-08-15 07:28:41 EDT
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.2.4 zip

Via RHSA-2018:2428 https://access.redhat.com/errata/RHSA-2018:2428
Comment 13 errata-xmlrpc 2018-08-15 07:31:55 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6

Via RHSA-2018:2423 https://access.redhat.com/errata/RHSA-2018:2423
Comment 14 errata-xmlrpc 2018-08-15 07:33:43 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7

Via RHSA-2018:2424 https://access.redhat.com/errata/RHSA-2018:2424
Comment 17 errata-xmlrpc 2018-09-04 09:46:01 EDT
This issue has been addressed in the following products:

  Red Hat Virtualization 4 for Red Hat Enterprise Linux 7

Via RHSA-2018:2643 https://access.redhat.com/errata/RHSA-2018:2643

Note You need to log in before you can comment on or make changes to this bug.