ash_authentication is vulnerable to Denial of Service (DoS)
82
High Risk
In ash_authentication, superlinear base62 decoding exhausts CPU and memory in AshAuthentication API key sign-in. bindecode62/1 in the same module is quadratic through Integer.undigits/2 and Integer.digits/2. Neither function caps byte_size/1, and AshAuthentication.Strategy.ApiKey.SignInPreparation passes the underscore-separated segments of the submitted key straight into both, before any key lookup and without prior authentication.
You are affected if you are using a version that falls within the vulnerable range.
ash_authentication is vulnerable to Denial of Service (DoS) in versions 4.8.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.