devalue is vulnerable to Information Disclosure
75
High Risk
stringify, stringifyAsync, and uneval serialize a typed array or Node Buffer by copying its full backing ArrayBuffer instead of only the bytes the view exposes. A Node Buffer's backing store is Node's shared allocation pool for the whole process, so serializing even a small Buffer copies unrelated bytes from other requests into the output. In an SSR framework, a page whose load() returns a small Buffer or a small file read can leak another request's body or Authorization header into its rendered HTML. The fix copies only the visible bytes into a fresh buffer before serializing.
You are affected if you are using a version that falls within the vulnerable range and you serialize a Node Buffer value with stringify, stringifyAsync, or uneval.
devalue is vulnerable to Information Disclosure in versions 5.1.0 - 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.