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
This high-severity CVE scores 8.1 under NVD CVSS v3. EPSS exploit probability: 2.9%, top 13% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.1(medium)
- EPSS
- 95.2%
- KEV
- Not listed
Published
July 2, 2018
Last Modified
November 21, 2024
References (48)
- security@apachehttp://cxf.apache.org/security-advisories.data/CVE-2018-8039.txt.asc?version=1&modificationDate=1530184663000&api=v2
- security@apachehttp://www.securityfocus.com/bid/106357
- security@apachehttp://www.securitytracker.com/id/1041199
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2276
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2277
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2279
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2423
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2424
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2425
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2428
- security@apachehttps://access.redhat.com/errata/RHSA-2018:2643
- security@apachehttps://access.redhat.com/errata/RHSA-2018:3768
- security@apachehttps://access.redhat.com/errata/RHSA-2018:3817
- security@apachehttps://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d72b545b741b
- security@apachehttps://lists.apache.org/thread.html/1f8ff31df204ad0374ab26ad333169e0387a5e7ec92422f337431866%40%3Cdev.cxf.apache.org%3E
Vendor Advisories for CVE-2018-8039(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | cxf-core | 2018-12-11 | redhat |
| redhat | rhvm-appliance-0:4.2-20180828.0.el7 | 2018-09-04 | redhat |
| redhat | eap7-wildfly-web-console-eap-0:2.9.18-1.Final_redhat_1.1.ep7.el6 | 2018-08-15 | redhat |
| redhat | eap7-wildfly-web-console-eap-0:2.9.18-1.Final_redhat_1.1.ep7.el7 | 2018-08-15 | redhat |
| redhat | patch | 2018-07-26 | redhat |
| redhat | eap7-xml-security-0:2.0.10-1.redhat_1.1.ep7.el7 | 2018-07-26 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(2 across 1 ecosystem)
Maven(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.cxf:apache-cxf | 2.0.10 ... 3.1.9 (139 versions) | 3.1.16 | — |
| org.apache.cxf:cxf-rt-transports-http | 2.0.10 ... 3.1.9 (139 versions) | 3.1.16 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2018:2276IMPORTANT2018-06-29
RHSA-2018:2276 — Important
- Red HatRHSA-2018:2277IMPORTANT2018-06-29
RHSA-2018:2277 — Important
- Red HatRHSA-2018:2279IMPORTANT2018-06-29
RHSA-2018:2279 — Important
- Red HatRHSA-2018:2423IMPORTANT2018-06-29
RHSA-2018:2423 — Important
- Red HatRHSA-2018:2424IMPORTANT2018-06-29
RHSA-2018:2424 — Important
- Red HatRHSA-2018:2425IMPORTANT2018-06-29
RHSA-2018:2425 — Important
- Red HatRHSA-2018:2428IMPORTANT2018-06-29
RHSA-2018:2428 — Important
- Red HatRHSA-2018:2643IMPORTANT2018-06-29
RHSA-2018:2643 — Important
- Red HatRHSA-2018:3817IMPORTANT2018-06-29
RHSA-2018:3817 — Important
Data Freshness Timeline
(refreshed 8× in last 7d / 47× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 05:26 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
Show 50 moreShow fewer
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-15 17:43 UTCOSV refresh
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 06:10 UTCEG score recompute
- 2026-05-28 06:10 UTCVendor advisory
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:07 UTCOSV refresh
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
Frequently asked(5)
What is CVE-2018-8039?
When was CVE-2018-8039 disclosed?
Is CVE-2018-8039 actively exploited?
What is the CVSS score of CVE-2018-8039?
How do I remediate CVE-2018-8039?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-8039
Is Your Infrastructure Affected by CVE-2018-8039?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.