ash_authentication is vulnerable to Insufficient Session Expiration
23
Low Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
ash_authentication is vulnerable to Insufficient Session Expiration in versions 0.6.0 - 4.14.2.
Upgrade the ash_authentication library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.