WaratekVRT Sign in

CVE-2018-8039 Apache CXF

Affected softwareApache CXF
Severity8.1 High CVSS 3.0 2 scores
Fixed in3.2.5, 3.1.16
WeaknessCWE-755
Published2 Jul 2018
Updated17 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.

  • 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

No exploit published

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

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.

VersionScoreBandVectorAssignerType
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

AdvisoryTypeQuarterProducts 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

FamilyComponentVersions, as Oracle lists themRead 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
PackageIntroducedFixedLast 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
SourceVendorProductSchemeAffected 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

URLTags
https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d72b545b741b commit
https://access.redhat.com/errata/RHSA-2018:2643 ADVISORY, RHSA-2018:2643
https://access.redhat.com/security/cve/CVE-2018-8039 REPORT, RHSA-2018:2643
https://github.com/apache/cxf/commit/8ed6208f987ff72e4c4d2cf8a6b1ec9b27575d4 WEB
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html WEB
https://www.oracle.com/security-alerts/cpujan2020.html WEB
https://www.oracle.com/security-alerts/cpuapr2020.html WEB
https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E WEB
https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E WEB
https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E WEB

Timeline

Published2018-07-02By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.