8.1

CVE-2018-8039: apache software foundation apache cxf

Modified
AliasesGHSA-jc7r-v6fg-2gpf
Published 02-07-2018Last modified 17-09-2024

Vulnerability summary

CVE-2018-8039 is a high (CVSS 8.1) vulnerability in apache software foundation apache cxf. EPSS estimates a 8.21% chance of exploitation in the next 30 days, higher than 95% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 8% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.0 (NVD)
EPSS score
8.21%
0%100%
Low · -0.30 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4

Timeline

  1. 02-07-2018
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

8.21%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

Decrease -0.30 pp

From 8.51% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Org.apache.cxf2 products
  • apache-cxf≥ 3.2.0, < 3.2.5 | < 3.1.16
  • cxf-rt-transports-http≥ 3.2.0, < 3.2.5 | < 3.1.16
Apache1 product
  • cxf< 3.1.16 | ≥ 3.2.0, < 3.2.5
Apache software foundation1 product
Redhat1 product

4 vendors · 5 products

References

36 links
Show all 36 references