CVE-2021-22696OAuth 2 authorization service vulnerable to DDos attacks
- 7.5HighCVSS base score
- 6.6%Exploitation in 30 daysEPSS · top 6.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 3 months later
· 3 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 6.6% · top 6.1% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache CXF
- affected unspecified – < 3.4.3
- affected unspecified – < 3.3.10
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.cxf:apache-cxfGHSA-7q4h-pj78-j7vg (opens in a new tab)
- Mavenorg.apache.cxf:cxfGHSA-7q4h-pj78-j7vg (opens in a new tab)
References
References9
- https://cxf.apache.org/security-advisories.data/CVE-2021-22696.txt.asc (opens in a new tab)x_refsource_MISCx_transferred
- [cxf-dev] 20210402 CVE-2021-22696: OAuth 2 authorization service vulnerable to DDos attacks (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210402 CVE-2021-22696: Apache CXF: OAuth 2 authorization service vulnerable to DDos attacks (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [cxf-users] 20210402 CVE-2021-22696: OAuth 2 authorization service vulnerable to DDos attacks (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [cxf-commits] 20210402 svn commit: r1073270 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2021-22696.txt.asc security-advisories.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210402 [Apache CXF] CVE-2021-22696: OAuth 2 authorization service vulnerable to DDos attacks (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [cxf-commits] 20210616 svn commit: r1075801 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2021-30468.txt.asc security-advisories.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1003 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7q4h-pj78-j7vg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-22696)Record last updated .