CVE-2021-22696
Java vulnerability analysis and mitigation

Overview

CVE-2021-22696 affects Apache CXF, discovered and disclosed in April 2021. The vulnerability exists in CXF's JwtRequestCodeFilter component, which supports passing OAuth 2 parameters via JWT tokens. The issue affects Apache CXF versions prior to 3.4.3 and versions prior to 3.3.10 (Apache Security).

Technical details

The vulnerability stems from insufficient validation of the 'request_uri' parameter in the OAuth 2 authorization process. While CXF ensures the parameter uses HTTPS, it makes a REST request to retrieve a JWT token without proper validation, as specified in section 10.4.1 of the OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR) specification (CVE Details).

Impact

The vulnerability exposes the authorization server to potential Distributed Denial of Service (DDoS) attacks. When exploited, attackers could leverage the insufficient validation to orchestrate DDoS attacks against the authorization server (Apache Security).

Mitigation and workarounds

The vulnerability has been patched in Apache CXF versions 3.4.3 and 3.3.10. Organizations using affected versions should upgrade to these or later versions to mitigate the vulnerability. The fix includes proper validation of the request_uri parameter as specified in the OAuth 2.0 JAR specification (Apache Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13805MEDIUM6.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13804MEDIUM5.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66372LOW2.8
  • JavaJava
  • org.mustangproject:library
NoYesNov 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management