devalue is vulnerable to Denial of Service (DoS)
59
Medium Risk
uneval repeats the full literal of a long string or bigint at every occurrence instead of emitting it once. A value from parse that repeats such a primitive therefore turns a small payload into output whose size grows quadratically. That expansion can exhaust CPU and memory during serialization. The fix hoists an expensive repeated primitive into one shared literal when that is smaller than inlining it.
You are affected if you are using a version that falls within the vulnerable range and your application passes values with repeated large strings or bigints to uneval.
devalue is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 5.9.2.
Upgrade the devalue 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.