seroval is vulnerable to Deserialization of Untrusted Data
98
CVE Score
Critical
Deserialization of Untrusted Data
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.
Upgrade the seroval library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and deserialize untrusted Seroval JSON with plugins enabled.
0.13.0 - 1.5.2
Fixed in 1.5.3seroval is vulnerable to Deserialization of Untrusted Data in versions 0.13.0 - 1.5.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.