devalue is vulnerable to Denial of Service (DoS)
37
Low Risk
parse and unflatten pass a revived backing buffer into a typed-array or DataView constructor without checking its type. A custom ArrayBuffer reviver that returns a number or an array-like value makes the constructor allocate a new buffer from that length, so a small payload can request a huge allocation. The fix reads byteLength through the native getter and rejects anything that is not a real ArrayBuffer or SharedArrayBuffer before construction.
You are affected if you are using a version that falls within the vulnerable range and you supply a custom ArrayBuffer reviver to parse or unflatten.
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.