cve.bz

CVE-2021-30468 Infinite Loop

7.5 highEPSS 7.0%Fix available

High (7.5). EPSS 7.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.cxf:apache-cxf 3.3.11, 3.4.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
7.0% (unchanged from 7.0% a week ago; 7.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-30468 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30468?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30468?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30468 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache CXFfrom Apache CXF before 3.4.4

Fixed in

ProductFixed in
Apache Software Foundation Apache CXF3.3.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g23v-p5jq-jvh4Mavenorg.apache.cxf:apache-cxf>=3.4.0 <3.4.43.4.4
GHSA-g23v-p5jq-jvh4Mavenorg.apache.cxf:apache-cxf<3.3.113.3.11
GHSA-g23v-p5jq-jvh4Mavenorg.apache.cxf:cxf>=3.4.0 <3.4.43.4.4
GHSA-g23v-p5jq-jvh4Mavenorg.apache.cxf:cxf<3.3.113.3.11

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In OpenShift Container Platform (OCP) the openshift4/ose-logging-elasticsearch6 container bundles the vulnerable version of apache-cxf, but OCP 4.6 is Out Of Support Scope (OOSS) for Moderate and Low impact vulnerabilities because it is now in the Maintenance Phase of the support, hence this component is marked as ooss. Starting in 4.7 this component is delivered as part of the OpenShift Logging product (openshift-logging/elasticsearch6-rhel8 container) and is not affected by this vulnerability.

ProductPackageStateAdvisory
JWS 5.7.0cxf-rt-rs-json-basicFixed 2022-11-02RHSA-2022:7273
Red Hat Fuse 7.10cxf-rt-rs-json-basicFixed 2021-12-14RHSA-2021:5134
Red Hat Integrationcxf-rt-rs-json-basicFixed 2021-08-18RHSA-2021:3205
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat BPM Suite 6cxf-rt-rs-json-basicNot affected
Red Hat Decision Manager 7cxf-rt-rs-json-basicNot affected
Red Hat Integration Camel Quarkus 1cxf-rt-rs-json-basicAffected
Red Hat JBoss Data Virtualization 6cxf-rt-rs-json-basicNot affected
Red Hat JBoss Enterprise Application Platform 6cxf-rt-rs-json-basicNot affected
Red Hat JBoss Enterprise Application Platform 7cxf-rt-rs-json-basicNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packcxf-rt-rs-json-basicNot affected
Red Hat JBoss Fuse 6cxf-rt-rs-json-basicOut of support scope
Red Hat JBoss Fuse Service Works 6cxf-rt-rs-json-basicNot affected
Red Hat JBoss Operations Network 3cxf-rt-rs-json-basicNot affected
Red Hat JBoss SOA Platform 5cxf-rt-rs-json-basicNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch6Out of support scope
Red Hat Process Automation 7cxf-rt-rs-json-basicNot affected
Red Hat Single Sign-On 7cxf-rt-rs-json-basicNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-30468.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON