VYPR
High severityNVD Advisory· Published Jun 16, 2021· Updated Aug 3, 2024

Apache CXF Denial of service vulnerability in parsing JSON via JsonMapObjectReaderWriter

CVE-2021-30468

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A malformed JSON can cause an infinite loop in Apache CXF's JsonMapObjectReaderWriter, leading to denial of service.

Vulnerability

A vulnerability exists in the JsonMapObjectReaderWriter of Apache CXF, affecting versions prior to 3.4.4 and 3.3.11. An attacker can submit malformed JSON to a web service that processes JSON data through this reader, causing the parsing thread to enter an infinite loop and consume CPU indefinitely [1][2].

Exploitation

An attacker needs network access to the web service and the ability to send HTTP requests with crafted JSON payloads. No authentication or special privileges are required. By sending a specifically malformed JSON object to an endpoint that uses JsonMapObjectReaderWriter, the thread handling the request becomes stuck in an infinite loop [1][2].

Impact

Successful exploitation results in a denial of service (DoS) condition. The affected thread consumes CPU resources without completing, which can degrade performance or exhaust server resources, potentially impacting availability of the service for legitimate users [1][2].

Mitigation

Apache CXF versions 3.4.4 and 3.3.11 contain the fix for this vulnerability. Users should upgrade to these versions or later. No workarounds are provided in the available references [1][2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.cxf:apache-cxfMaven
>= 3.4.0, < 3.4.43.4.4
org.apache.cxf:apache-cxfMaven
< 3.3.113.3.11
org.apache.cxf:cxfMaven
>= 3.4.0, < 3.4.43.4.4
org.apache.cxf:cxfMaven
< 3.3.113.3.11

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

28

News mentions

0

No linked articles in our index yet.