qs is vulnerable to Denial of Service (DoS)
37
Low Risk
The parseArrayValue helper in the parse path splits a comma-separated value into an array before comparing it against arrayLimit. When a comma group is supplied under a bracket-push key such as a[]=1,2,3, the code treats it as exempt and skips the limit check even when throwOnLimitExceeded is enabled, while the equivalent flat key correctly throws. Untrusted input can therefore expand a single parameter into an arbitrarily large array, consuming excessive memory. The fix applies the arrayLimit check to every comma group and throws a RangeError before splitting when the limit is exceeded.
You are affected if you are using a version that falls within the vulnerable range and you parse untrusted input with the comma option enabled.
qs is vulnerable to Denial of Service (DoS) in versions 6.14.2 - 6.15.3.
Upgrade the qs 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.