CVE-2021-30468
Apache CXF Denial of service vulnerability in parsing JSON via JsonMapObjectReaderWriter
Also known as GHSA-g23v-p5jq-jvh4
Mitigation
- Upgrade org.apache.cxf:apache-cxf to one of 3.4.4, 3.3.11 (or later in the same release line).
- Upgrade org.apache.cxf:cxf to one of 3.4.4, 3.3.11 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.cxf:apache-cxf (>= 3.4.0, < 3.4.4)
- Projects that depend on Maven package org.apache.cxf:cxf (>= 3.4.0, < 3.4.4)
- Anyone running Apache Software Foundation Apache CXF >= Apache CXF, < 3.4.4
Vulnerability facts
- Affected
- org.apache.cxf:apache-cxf >= 3.4.0, < 3.4.4; org.apache.cxf:cxf >= 3.4.0, < 3.4.4
- Fixed in
- 3.4.4, 3.3.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 6.46% chance of exploitation in 30 days (percentile 95, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
A vulnerability in the JsonMapObjectReaderWriter of Apache CXF allows an attacker to submit malformed JSON to a web service, which results in the thread getting stuck in an infinite loop, consuming CPU indefinitely. This issue affects Apache CXF versions prior to 3.4.4; Apache CXF versions prior to 3.3.11.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.cxf:apache-cxf | >= 3.4.0, < 3.4.4 | 3.4.4, 3.3.11 | osv |
| Maven org.apache.cxf:cxf | >= 3.4.0, < 3.4.4 | 3.4.4, 3.3.11 | osv |
| Apache Software Foundation Apache CXF | >= Apache CXF, < 3.4.4 | — | 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-2021-30468. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-30468.md Affected: org.apache.cxf:apache-cxf >= 3.4.0, < 3.4.4; org.apache.cxf:cxf >= 3.4.0, < 3.4.4 Fixed in: 3.4.4, 3.3.11 Steps: 1. Search this machine and project for org.apache.cxf:apache-cxf (Maven), org.apache.cxf:cxf (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
Patches
Other
- https://lists.apache.org/thread.html/r4a4b6bc0520b69c18d2a59daa6af84ae49f0c22164dccb8538794459%40%3Cusers.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r4a4b6bc0520b69c18d2a59daa6af84ae49f0c22164dccb8538794459%40%3Cdev.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r4a4b6bc0520b69c18d2a59daa6af84ae49f0c22164dccb8538794459%40%3Cannounce.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/06/16/2
- https://lists.apache.org/thread.html/r3f46ae38e4a6e80c069cdb320e0ce831b0a21a12ef0cc92c0943f34a%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/re5b2a2b77faa22684d47bd2ac6623135c615565328ff40a1ec705448%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/rac07822057521dccf33ab5d136e0e8c599a6e2c8ac75e44ffbdc6e07%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/re9e05c6cab5f0dcc827eba4e6fcf26fa0b493e7ca84d62c867a80d03%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/ra833f78b3fa577cb43558cf343859a1bf70b1c5ce2353b3877d96422%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r54c0f1cbbb9f381dfbedb9ea5e90ecb1c0a15371f40c4b10322ac737%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r4771084730c4cf6e59eda60b4407122c86f174eb750b24f610ba9ff4%40%3Ccommits.tomee.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210917-0002/
- https://lists.apache.org/thread.html/r3f46ae38e4a6e80c069cdb320e0ce831b0a21a12ef0cc92c0943f34a@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r4771084730c4cf6e59eda60b4407122c86f174eb750b24f610ba9ff4@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r4a4b6bc0520b69c18d2a59daa6af84ae49f0c22164dccb8538794459@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r4a4b6bc0520b69c18d2a59daa6af84ae49f0c22164dccb8538794459@%3Cdev.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r4a4b6bc0520b69c18d2a59daa6af84ae49f0c22164dccb8538794459@%3Cusers.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r54c0f1cbbb9f381dfbedb9ea5e90ecb1c0a15371f40c4b10322ac737@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/ra833f78b3fa577cb43558cf343859a1bf70b1c5ce2353b3877d96422@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/rac07822057521dccf33ab5d136e0e8c599a6e2c8ac75e44ffbdc6e07@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/re5b2a2b77faa22684d47bd2ac6623135c615565328ff40a1ec705448@%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/re9e05c6cab5f0dcc827eba4e6fcf26fa0b493e7ca84d62c867a80d03@%3Ccommits.tomee.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210917-0002
FAQ
Is CVE-2021-30468 being exploited?
There is no confirmed exploitation: CVE-2021-30468 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.46% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-30468?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2021-30468?
org.apache.cxf:apache-cxf >= 3.4.0, < 3.4.4; org.apache.cxf:cxf >= 3.4.0, < 3.4.4.
Is there a fix for CVE-2021-30468?
Yes. Fixed in 3.4.4, 3.3.11. Upgrade org.apache.cxf:apache-cxf to one of 3.4.4, 3.3.11 (or later in the same release line). Upgrade org.apache.cxf:cxf to one of 3.4.4, 3.3.11 (or later in the same release line).
How do I check if I'm affected by CVE-2021-30468?
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.