seroval-plugins is vulnerable to Type Confusion
81
CVE Score
High
Type Confusion
ReadableStreamPlugin.deserialize in seroval-plugins casts the value read from the reference table to a Stream without a brand check and passes it to READABLE_STREAM_FACTORY_CONSTRUCTOR, whose start() callback runs synchronously during fromJSON and calls stream.on({...}) on that value. A crafted Reference node that points at an application object with an on method makes that method run during deserialization, before any error is raised. This is the same timing and type confusion primitive as the Promise resolver advisory GHSA-mv8w-475r-vwqw, reached through the ReadableStream plugin instead. The fix validates the backing source before it reaches the stream factory.
Upgrade the seroval-plugins library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use seroval-plugins' ReadableStreamPlugin to deserialize untrusted payloads.
1.4.2 - 1.6.4
Fixed in 1.6.5seroval-plugins is vulnerable to Type Confusion in versions 1.4.2 - 1.6.4.
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.