superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. In versions prior to 1.8.1 superjson allows input to run arbitrary code on any server using superjson input without prior authentication or knowledge. The only requirement is that the server implements at least one endpoint which uses superjson during request processing. This has been patched in superjson 1.8.1. Users are advised to update. There are no known workarounds for this issue.
References
Link | Resource |
---|---|
https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425 | Third Party Advisory |
Configurations
Information
Published : 2022-02-09 14:15
Updated : 2022-02-15 10:33
NVD link : CVE-2022-23631
Mitre link : CVE-2022-23631
JSON object : View
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Products Affected
blitzjs
- superjson