Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22696
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:35 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-22696
Complete source record
{
"id": "8f217b23c1d8bef5667cf53ab1df1dea15828f7593aed847f0131e9fbc28428f",
"url": "https://osv.dev/vulnerability/CVE-2021-22696",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22696",
"summary": "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.",
"evidence": "osv:CVE-2021-22696",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-22696",
"aliases": [
"CVE-2021-22696",
"GHSA-7q4h-pj78-j7vg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/cxf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2626b3ca26822763d334cf96b78b206a781bcc2e"
},
{
"introduced": "dd0feaaeee9a9a8e7ffb060f0cf46ef06b6b3d44"
},
{
"fixed": "1a3950c164cabef352bc51c61f30612f05bc38f2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"cxf-3.4.2",
"cxf-3.3.9",
"cxf-3.4.1",
"cxf-3.3.8",
"cxf-3.4.0",
"cxf-3.3.7",
"cxf-3.3.6",
"cxf-3.3.5",
"cxf-3.3.4",
"cxf-3.3.3",
"cxf-3.3.2",
"cxf-3.3.1",
"cxf-3.3.0",
"cxf-3.2.5",
"cxf-3.2.4",
"cxf-3.2.3",
"cxf-3.2.2",
"cxf-3.2.1",
"cxf-3.2.0",
"cxf-3.1.4",
"cxf-3.1.3",
"cxf-3.1.2",
"cxf-3.1.1",
"cxf-3.1.0",
"cxf-3.0.0",
"cxf-3.0.0-milestone2",
"cxf-2.7.2",
"cxf-2.7.1",
"cxf-2.7.0",
"cxf-2.6.1",
"cxf-2.6.0",
"cxf-2.5.1",
"cxf-2.5.0",
"cxf-2.4.0",
"cxf-2.3.0",
"cxf-2.2.2",
"cxf-2.2.1",
"cxf-2.2",
"cxf-2.1.2",
"cxf-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22696.json"
}
}
],
"modified": "2026-10-24T10:30:30.897421719Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r6445001cc5f9a2bb1e6316993753306e054bdd1d702656b7cbe59045%40%3Cannounce.apache.org%3E",
"https://lists.apache.org/thread.html/r8651c06212c56294a1c0ea61a5ad7790c06502209c03f05c0c7c9914%40%3Cdev.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/r8651c06212c56294a1c0ea61a5ad7790c06502209c03f05c0c7c9914%40%3Cusers.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E",
"https://cxf.apache.org/security-advisories.data/CVE-2021-22696.txt.asc",
"https://www.oracle.com/security-alerts/cpuapr2022.html",
"https://www.oracle.com/security-alerts/cpuoct2021.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_diameter_intelligence_hub",
"extracted_events": [
{
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.1.0"
},
{
"introduced": "8.2.0"
},
{
"last_affected": "8.2.3"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_session_report_manager:*:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_session_report_manager",
"extracted_events": [
{
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.2.4.0"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_session_route_manager:*:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_session_route_manager",
"extracted_events": [
{
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.2.4"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:*",
"cpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:*",
"cpe:2.3:a:oracle:business_intelligence:5.5.0.0.0:*:*:*:enterprise:*:*:*",
"cpe:2.3:a:oracle:business_intelligence:5.9.0.0.0:*:*:*:enterprise:*:*:*"
],
"vendor_product": "oracle:business_intelligence",
"extracted_events": [
{
"range": [
{
"introduced": "5.5.0.0.0"
},
{
"last_affected": "5.5.0.0.0"
},
{
"introduced": "5.9.0.0.0"
},
{
"last_affected": "5.9.0.0.0"
},
{
"introduced": "12.2.1.3.0"
},
{
"last_affected": "12.2.1.3.0"
},
{
"introduced": "12.2.1.4.0"
},
{
"last_affected": "12.2.1.4.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_element_manager:8.2.2:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_element_manager",
"extracted_events": [
{
"range": [
{
"introduced": "8.2.2"
},
{
"last_affected": "8.2.2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-22696",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432687,
"published_at": "2021-04-02T10:15:12.2+00:00"
}