elysia is vulnerable to Denial of Service (DoS)
75
High Risk
Elysia normalizes multipart/form-data request bodies by iterating over the form keys and calling getAll for each key. Because getAll performs a full linear scan of every entry on each call, the normalization work grows quadratically with the number of key-value pairs. An unauthenticated attacker can send a small crafted multipart request containing many distinct field names to force the server to perform a very large number of comparisons and exhaust CPU on the event-loop thread. The fix replaces the nested getAll calls with a single linear pass that groups values by key.
You are affected if you are using a version that falls within the vulnerable range and expose endpoints that accept multipart/form-data requests.
elysia is vulnerable to Denial of Service (DoS) in versions 0.3.0 - 1.4.28.
Upgrade the elysia 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