Apache CXF: JwtRequestCodeFilter silently overrides outer PKCE and nonce parameters
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.6.12, 4.1.8 and 4.2.3.
Apache CXF's JwtRequestCodeFilter copies all claims from a signed request JWT into the authorization parameter map without excluding security-sensitive parameters. A client that can produce a validly-signed request JWT (e.g., one whose client_secret is known or compromised) can thereby substitute the code_challenge, code_challenge_method, nonce, and state values that were set in the outer HTTP request, undermining PKCE integrity and OpenID Connect replay protection. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Apache Software Foundation | <3.6.12, >=4.0.0 <4.1.8, >=4.2.0 <4.2.3 | 3.6.12, 4.1.8, 4.2.3 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket