Improper input validation in Apache CXF
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 7 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache CXF | before 3.1.14; 3.2 to before 3.2.1 | 3.1.14, 3.2.1 | Patch available | CNA |
| — | org.apache.cxf:cxf-core (Maven) | 3.2.0 to before 3.2.1 | 3.2.1 | Patch available | GHSA-7vgj-8mw4-hg8r |
| — | org.apache.cxf:cxf-core (Maven) | 3.1.0 to before 3.1.14 | 3.1.14 | Patch available | GHSA-7vgj-8mw4-hg8r |
| — | org.apache.cxf:cxf-core (Maven) | before 3.0.16 | 3.0.16 | Patch available | GHSA-7vgj-8mw4-hg8r |
- Apache CXF VendorApache Affected before 3.1.14; 3.2 to before 3.2.1 Fixed in 3.1.14, 3.2.1 Patch available CNA
- org.apache.cxf:cxf-core (Maven) Vendor— Affected 3.2.0 to before 3.2.1 Fixed in 3.2.1 Patch available GHSA-7vgj-8mw4-hg8r
- org.apache.cxf:cxf-core (Maven) Vendor— Affected 3.1.0 to before 3.1.14 Fixed in 3.1.14 Patch available GHSA-7vgj-8mw4-hg8r
- org.apache.cxf:cxf-core (Maven) Vendor— Affected before 3.0.16 Fixed in 3.0.16 Patch available GHSA-7vgj-8mw4-hg8r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* | 3.0.0 to before 3.0.16; 3.1.0 to before 3.1.14; 3.2.0 to before 3.2.1 | Vulnerable | Apache |
- cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* Versions 3.0.0 to before 3.0.16; 3.1.0 to before 3.1.14; 3.2.0 to before 3.2.1 Vulnerable ·Apache
Remediation
- Fix · CNA Apache CXF (Apache Software Foundation) Fixed in 3.1.14, 3.2.1
- Fix · GHSA-7vgj-8mw4-hg8r org.apache.cxf:cxf-core (Maven) Fixed in 3.2.1 Advisory →
- Fix · GHSA-7vgj-8mw4-hg8r org.apache.cxf:cxf-core (Maven) Fixed in 3.1.14 Advisory →
- Fix · GHSA-7vgj-8mw4-hg8r org.apache.cxf:cxf-core (Maven) Fixed in 3.0.16 Advisory →
Red Hat 4 advisories
- RHSA-2018:2424 Released 2018-08-15 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.1.4 on RHEL7 security update
- Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server eap7-activemq-artemis-1.5.5.013-1.redhat_1.1.ep7.el7, eap7-activemq-artemis-cli-1.5.5.013-1.redhat_1.1.ep7.el7, eap7-activemq-artemis-commons-1.5.5.013-1.redhat_1.1.ep7.el7 +47
- RHSA-2018:2423 Released 2018-08-15 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.1.4 on RHEL 6 security update
- Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server eap7-activemq-artemis-1.5.5.013-1.redhat_1.1.ep7.el6, eap7-activemq-artemis-cli-1.5.5.013-1.redhat_1.1.ep7.el6, eap7-activemq-artemis-commons-1.5.5.013-1.redhat_1.1.ep7.el6 +47
- RHSA-2018:2428 Released 2018-08-15 · Red Hat rating ImportantRed Hat Single Sign-On 7.2.4 security update
- Red Hat Single Sign-On 7.2.4 zip
Show 1 more Red Hat advisories
- RHSA-2018:2425 Released 2018-08-15 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.1 security update
- Red Hat JBoss EAP 7.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix yet |
| Red Hat JBoss Enterprise Application Platform 5 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Fuse 6 | Affected | No fix yet |
| Red Hat JBoss Fuse Integration Service 2 | Affected | No fix yet |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Will not fix |
| Red Hat JBoss SOA Platform 5 | Affected | No fix planned: Will not fix |
| Red Hat JBoss EAP 7.1 | Fixed | RHSA-2018:2425 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server | Fixed | RHSA-2018:2423 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server | Fixed | RHSA-2018:2424 |
| Red Hat Single Sign-On 7.2.4 zip | Fixed | RHSA-2018:2428 |
Not affected: 8 products
- Red Hat BPM Suite 6
- Red Hat JBoss BRMS 5
- Red Hat JBoss BRMS 6
- Red Hat JBoss Data Grid 6
- Red Hat JBoss Data Virtualization 6
- Red Hat JBoss Operations Network 3
- Red Hat JBoss Portal 6
- Red Hat Single Sign-On 7
Timeline
- 2026-10-02 Threatist record created from CVE-2017-12624
- 2026-10-03 Alias added: GHSA-7vgj-8mw4-hg8r
References
Advisory 6
Other 17
- [cxf-commits] 20200116 svn commit: r1055336 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-12423.txt.asc security-advisories.data/CVE-2019-17573.txt.asc security-advisories.html
- [cxf-commits] 20200319 svn commit: r1058035 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-17573.txt.asc security-advisories.html
- [cxf-commits] 20200401 svn commit: r1058573 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2020-1954.txt.asc security-advisories.html
- [cxf-commits] 20201112 svn commit: r1067927 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2020-13954.txt.asc security-advisories.html
- [cxf-commits] 20210402 svn commit: r1073270 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2021-22696.txt.asc security-advisories.html
- [cxf-commits] 20210616 svn commit: r1075801 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2021-30468.txt.asc security-advisories.html
- https://github.com/apache/cxf/commit/896bd961cbbb6b8569700e5b70229f78f94ad9d
- https://github.com/apache/cxf/commit/8bd915bfd7735c248ad660059c6b6ad26cdbcdf6
- https://github.com/apache/cxf/commit/a2ce435cf0eedc8158d118d6d275114408d2a376
- https://github.com/apache/cxf
- https://issues.apache.org/jira/browse/CXF-7507
- https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E
More Apache Cxf vulnerabilities
- TI-2019-09264 Incorrect authorization in Apache CXF CVSS 3.1CRITICAL 9.8
- TI-2020-10930 Apache CXF Reflected XSS in the services listing page via the styleSheetPath CVSS 3.1MEDIUM 6.1
- TI-2010-01990 Apache CXF 2.0.x before 2.0.13, 2.1.x before 2.1.10, and 2.2.x before 2.2.9, as used in… CVSS 3.1CRITICAL 9.8
- TI-2022-22907 Apache CXF SSRF Vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-47481 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage CVSS 3.1CRITICAL 9.8
- TI-2025-31053 Apache CXF: Untrusted JMS configuration can lead to RCE CVSS 3.1CRITICAL 9.8
Sources
- CVE-2017-12624 · CVE Program
- CVE-2017-12624 · NVD
- FIRST EPSS
- GHSA-7vgj-8mw4-hg8r · GitHub Advisory Database · CC BY 4.0
- CVE-2017-12624 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences