cxf-rt-rs-security-sso-oidc is vulnerable to Improper Authentication
38
CVE Score
Low
Improper Authentication
The entry point is OidcClientCodeRequestFilter, a JAX-RS client filter that relying parties configure with setMaxAgeOffset() to request authentication freshness from an OIDC provider. toCodeRequestState() stores a millisecond based future timestamp in the request state, and validateIdToken() compares the ID token's seconds based auth_time claim against that value with an inverted comparison, so the freshness check always passes and a relying party using setMaxAgeOffset for step up re-authentication accepts a session of any age. The fix stores a seconds based minimum acceptable auth_time, rejects tokens whose auth_time is missing or older than that minimum, and sends max_age as a duration in seconds rather than a timestamp.
Upgrade the cxf-rt-rs-security-sso-oidc library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and configure the OIDC relying party filter with a maximum authentication age for step up re-authentication.
3.1.7 - 3.6.12
Fixed in 3.6.134.0.0 - 4.1.8
Fixed in 4.1.94.2.0 - 4.2.3
Fixed in 4.2.4cxf-rt-rs-security-sso-oidc is vulnerable to Improper Authentication in versions 3.1.7 - 3.6.12, 4.0.0 - 4.1.8 and 4.2.0 - 4.2.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.