cve.bz

CVE-2021-22696 SSRF

7.5 highEPSS 6.6%Fix available

High (7.5). EPSS 6.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.cxf:cxf 3.3.10, 3.4.3.

On this page
CXF supports (via JwtRequestCodeFilter) passing OAuth 2 parameters via a JWT token as opposed to query parameters (see: The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR)). Instead of sending a JWT token as a "request" parameter, the spec also supports specifying a URI from which to retrieve a JWT token from via the "request_uri" parameter. CXF was not validating the "request_uri" parameter (apart from ensuring it uses "https) and was making a REST request to the parameter in the request to retrieve a token. This means that CXF was vulnerable to DDos attacks on the authorization server, as specified in section 10.4.1 of the spec. This issue affects Apache CXF versions prior to 3.4.3; Apache CXF versions prior to 3.3.10.

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
6.6% (unchanged from 6.6% a week ago; 6.6% 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-918 Server-Side Request Forgery (SSRF)
CWE-400 Uncontrolled Resource Consumption
OWASP Top 10
A01:2025 Broken Access Control
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-22696 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22696?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22696?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-22696 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 CXFbefore 3.4.3
Apache Software Foundation Apache CXFbefore 3.3.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7q4h-pj78-j7vgMavenorg.apache.cxf:cxf>=3.4.0 <3.4.33.4.3
GHSA-7q4h-pj78-j7vgMavenorg.apache.cxf:cxf<3.3.103.3.10
GHSA-7q4h-pj78-j7vgMavenorg.apache.cxf:apache-cxf>=3.4.0 <3.4.33.4.3
GHSA-7q4h-pj78-j7vgMavenorg.apache.cxf:apache-cxf<3.3.103.3.10

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
JWS 5.7.0cxf-coreFixed 2022-11-02RHSA-2022:7273
Red Hat Fuse 7.10cxf-coreFixed 2021-12-14RHSA-2021:5134
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat BPM Suite 6cxf-coreNot affected
Red Hat Decision Manager 7cxf-coreNot affected
Red Hat Integration Camel K 1cxf-coreAffected
Red Hat Integration Camel Quarkus 1cxf-coreWill not fix
Red Hat JBoss BRMS 6cxfNot affected
Red Hat JBoss Data Virtualization 6cxf-coreOut of support scope
Red Hat JBoss Enterprise Application Platform 7cxf-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packcxf-coreNot affected
Red Hat JBoss Fuse 6cxf-coreOut of support scope
Red Hat JBoss Fuse Service Works 6cxf-coreOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch6Not affected
Red Hat Process Automation 7cxf-coreNot affected
Red Hat Single Sign-On 7cxf-coreNot affected
Red Hat support for Spring Bootcxf-coreFix deferred

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-22696.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High
  • 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