CVE-2021-22696: apache software foundation apache cxf Uncontrolled Resource Consumption
Vulnerability summary
CVE-2021-22696 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in apache software foundation apache cxf. EPSS estimates a 6.59% chance of exploitation in the next 30 days, higher than 93.7% of scored vulnerabilities.
Timeline
- 02-04-2021PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
6.59%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
0.00 pp
From 6.59% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-918Server-Side Request Forgery (SSRF)The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Affected systems
Oracle5 products
- business_intelligence5.5.0.0.0 | 5.9.0.0.0 | 12.2.1.3.0 | 12.2.1.4.0
- communications_diameter_intelligence_hub≥ 8.0.0, ≤ 8.1.0 | ≥ 8.2.0, ≤ 8.2.3
- communications_element_manager8.2.2
- communications_session_report_manager≥ 8.0.0, ≤ 8.2.4.0
- communications_session_route_manager≥ 8.0.0, ≤ 8.2.4
Org.apache.cxf2 products
- apache-cxf≥ 3.4.0, < 3.4.3 | < 3.3.10
- cxf≥ 3.4.0, < 3.4.3 | < 3.3.10
Apache1 product
- cxf< 3.3.10 | ≥ 3.4.0, < 3.4.3
Apache software foundation1 product
- apache cxf≥ unspecified, < 3.4.3 | ≥ unspecified, < 3.3.10
4 vendors · 9 products
References
18 links- www.openwall.com/lists/oss-security/2021/04/02/2Mailing ListX Refsource MLISTWEBThird Party Advisory
Show all 18 references
- github.com/apache/cxfPACKAGE