Skip to content

CVE-2022-23631 Prototype Pollution leading to Remote Code Execution in superjson

CriticalCVSS 9.8 EPSS 2.7%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
blitzjs blitz < 0.45.3 0.45.3 Fixed
blitzjs superjson < 1.8.1 1.8.1 Fixed
npm blitz(npm) < 0.45.3 0.45.3 Fixed
npm superjson(npm) < 1.8.1 1.8.1 Fixed
blitz-js superjson = < 1.8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm superjson(npm) < 1.8.1 1.8.1
npm blitz(npm) < 0.45.3 0.45.3
blitz-js superjson = < 1.8.0 No fix listed
blitzjs blitz < 0.45.3 0.45.3
blitzjs superjson < 1.8.1 1.8.1

References