ash_authentication is vulnerable to Insufficient Session Expiration
23
CVE Score
Low
Insufficient Session Expiration
In ash_authentication, replayable OAuth2 CSRF state retained after a failed callback in AshAuthentication. AshAuthentication.Strategy.OAuth2.Plug.callback/2 clears the stored session_params through a rebinding step inside its with chain, conn - delete_session(conn, session_key). The value the module's own comment describes as protection against a CSRF-related attack is therefore consumed only when authentication succeeds, and survives a cancelled or failed attempt until the next request phase or session expiry.
Upgrade the ash_authentication library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.6.0 - 4.14.2
Fixed in 4.15.0ash_authentication is vulnerable to Insufficient Session Expiration in versions 0.6.0 - 4.14.2.
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.