CVE-2018-8039 Apache CXF
| Affected software | Apache CXF |
|---|---|
| Severity | 8.1 High CVSS 3.0 2 scores |
| Fixed in | 3.2.5, 3.1.16 |
| Weakness | CWE-755 |
| Published | 2 Jul 2018 |
| Updated | 17 Jun 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 8 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 8.2% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: apache/cxf fae6fab.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
| Candidate fix | https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d72b545b741b : a commit: the change itself |
CVSS
8.1 HIGH
v3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
8.1 HIGH v3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.0 | 8.1 | HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 6.8 | none | AV:N/AC:M/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2020 ↗ | CPU | 2020-Q2 | Oracle Communications Applications / Core (Apache CXF) (8.0.0, 8.1.0, 8.1.1) Oracle Communications Applications / Core (Apache CXF) (8.0.0, 8.1.0, 8.1.1, 8.2.0) |
| Oracle Critical Patch Update January 2020 ↗ | CPU | 2020-Q1 | Oracle Retail Applications / System Administration (Apache CXF) (5.2, 15.0) |
| Oracle Critical Patch Update July 2019 ↗ | CPU | 2019-Q3 | Oracle Communications Applications / Security (Apache cxf) (8.0, 8.1, 8.2) Oracle Enterprise Manager Products Suite / Connector Framework (Apache CXF) (12.1.0.5.0, 13.2.0.0.0, 13.3.0.0.0) Oracle Financial Services Applications / Core (cxf) (12.0.1, 12.0.3, 12.1.0) Oracle Retail Applications / Order Broker Foundation (Apache CXF) (5.2, 15.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications Applications | Core (Apache CXF) | 8.0.0, 8.1.0, 8.1.1 | 8.0.0 · 8.1.0 · 8.1.1 · 8.2.0 |
| Oracle Communications Applications | Security (Apache cxf) | 8.0, 8.1, 8.2 | 8.0 · 8.1 · 8.2 |
| Oracle Enterprise Manager Products Suite | Connector Framework (Apache CXF) | 12.1.0.5.0, 13.2.0.0.0, 13.3.0.0.0 | 12.1.0.5.0 · 13.2.0.0.0 · 13.3.0.0.0 |
| Oracle Financial Services Applications | Core (cxf) | 12.0.1, 12.0.3, 12.1.0 | 12.0.1 · 12.0.3 · 12.1.0 |
| Oracle Retail Applications | Order Broker Foundation (Apache CXF) | 5.2, 15.0 | 5.2 · 15.0 |
| Oracle Retail Applications | System Administration (Apache CXF) | 5.2, 15.0 | 5.2 · 15.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.cxf:cxf-rt-transports-http |
3.2.0 | 3.2.5 |
unbounded |
org.apache.cxf:cxf-rt-transports-http |
0 | 3.1.16 |
unbounded |
org.apache.cxf:apache-cxf |
3.2.0 | 3.2.5 |
unbounded |
org.apache.cxf:apache-cxf |
0 | 3.1.16 |
unbounded |
Products and versions
4 products, 7 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | cxf | generic | < 3.1.16 · ≥ 3.2.0 and < 3.2.5 |
| osv | org.apache.cxf | apache-cxf | generic | < 3.1.16 · ≥ 3.2.0 and < 3.2.5 |
| osv | org.apache.cxf | cxf-rt-transports-http | generic | < 3.1.16 · ≥ 3.2.0 and < 3.2.5 |
| nvd | redhat | jboss enterprise application platform | generic | 7.1.0 |
References
Timeline
Timeline
| Published | 2018-07-02 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |