Apache CXF: JPA authorization-code consume is non-atomic
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.13, 4.1.9 and 4.2.4.
Improper enforcement of single-use authorization code semantics in the JPA OAuth2 authorization code grant provider in Apache CXFallows a remote attacker to obtain multiple valid access tokens from a single authorization code via concurrent token exchange requests that race the non-atomic find-then-delete operation against a shared relational database under READ_COMMITTED isolation. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fixes this issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Apache Software Foundation | <3.6.13, >=4.0.0 <4.1.9, >=4.2.0 <4.2.4 | 3.6.13, 4.1.9, 4.2.4 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket