seroval is vulnerable to Deserialization of Untrusted Data
98
Critical Risk
The fromJSON() deserialization path in seroval handles Promise control nodes by operating on values taken from the general deserialization reference table without first verifying that those values are genuine internal promise resolver records. Attacker-controlled JSON can exploit this type confusion so that deserialization performs attacker-influenced side effects when plugins are enabled. In downstream frameworks that register plugins returning callable wrappers, this primitive can escalate to unintended server-side invocation and potential remote code execution. The fix adds an internal type check so deserialization aborts before operating on values that are not genuine resolver records.
You are affected if you are using a version that falls within the vulnerable range and deserialize untrusted Seroval JSON with plugins enabled.
seroval is vulnerable to Deserialization of Untrusted Data in versions 0.13.0 - 1.5.2.
Upgrade the seroval 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