CVE-2018-8039: apache software foundation apache cxf
Vulnerability summary
CVE-2018-8039 is a high (CVSS 8.1) vulnerability in apache software foundation apache cxf. EPSS estimates a 8.51% chance of exploitation in the next 30 days, higher than 94.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4Timeline
- 02-07-2018PublishedVulnerability first disclosed.
- 17-09-2024Last 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- OSV · MavenEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
8.51%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
0.00 pp
From 8.51% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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
- apache cxfprior to 3.1.16 | 3.2.x prior to 3.2.5
Redhat1 product
4 vendors · 5 products
References
36 links- github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d72b545b741bX Refsource CONFIRMPatchThird Party AdvisoryWEB
Show all 36 references
- github.com/apache/cxfPACKAGE