SCA: security update for org.apache.cxf:apache-cxf, org.apache.cxf:cxf-rt-transports-http (GHSA-jc7r-v6fg-2gpf)

high Tenable Self-Hosted Container Security Plugin ID 423218

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2018-8039)

See Also

https://github.com/advisories/GHSA-jc7r-v6fg-2gpf

Plugin Details

Severity: High

ID: 423218

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/29/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-8039

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/19/2018

Vulnerability Publication Date: 6/28/2018

Reference Information

CVE: CVE-2018-8039

BID: 106357

cwe: CWE-755