CVE-2017-12624
Improper Input Validation in Apache CXF
Also known as GHSA-7vgj-8mw4-hg8r
Mitigation
- Upgrade org.apache.cxf:cxf-core to one of 3.2.1, 3.1.14, 3.0.16 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.cxf:cxf-core (>= 3.2.0, < 3.2.1)
- Anyone running Apache Software Foundation Apache CXF prior to 3.1.14; 3.2.x prior to 3.2.1
Vulnerability facts
- Affected
- org.apache.cxf:cxf-core >= 3.2.0, < 3.2.1
- Fixed in
- 3.2.1, 3.1.14, 3.0.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.0, NVD)CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 3.70% chance of exploitation in 30 days (percentile 90, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
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".
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.cxf:cxf-core | >= 3.2.0, < 3.2.1 | 3.2.1, 3.1.14, 3.0.16 | osv |
| Apache Software Foundation Apache CXF | prior to 3.1.14; 3.2.x prior to 3.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2017-12624. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2017-12624.md Affected: org.apache.cxf:cxf-core >= 3.2.0, < 3.2.1 Fixed in: 3.2.1, 3.1.14, 3.0.16 Steps: 1. Search this machine and project for org.apache.cxf:cxf-core (Maven), Apache Software Foundation Apache CXF: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2018:2428
- https://access.redhat.com/errata/RHSA-2018:2424
- https://access.redhat.com/errata/RHSA-2018:2423
- https://access.redhat.com/errata/RHSA-2018:2425
- http://cxf.apache.org/security-advisories.data/CVE-2017-12624.txt.asc
- https://nvd.nist.gov/vuln/detail/CVE-2017-12624
Patches
Other
- http://www.securitytracker.com/id/1040486
- http://www.securityfocus.com/bid/101859
- https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E
- 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
FAQ
Is CVE-2017-12624 being exploited?
There is no confirmed exploitation: CVE-2017-12624 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2017-12624?
Medium: CVSS 5.5 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2017-12624?
org.apache.cxf:cxf-core >= 3.2.0, < 3.2.1.
Is there a fix for CVE-2017-12624?
Yes. Fixed in 3.2.1, 3.1.14, 3.0.16. Upgrade org.apache.cxf:cxf-core to one of 3.2.1, 3.1.14, 3.0.16 (or later in the same release line).
How do I check if I'm affected by CVE-2017-12624?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.