superjson@1.8.0 vulnerabilities

  • latest version

    2.2.2

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    9 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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