superjson@0.0.6 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the superjson package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Remote Code Execution (RCE)

superjson is a Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) as it allows to run arbitrary code on any server using superjson input, including a Blitz.js server, without prior authentication or knowledge. Attackers gain full control over the server so they could steal and manipulate data or attack further systems.

How to fix Remote Code Execution (RCE)?

Upgrade superjson to version 1.8.1 or higher.

<1.8.1