Skip to main content
← All vulnerabilities
CVE-2022-23631GHSA-5888-FFCR-R425

Prototype Pollution leading to Remote Code Execution in superjson

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.0, 1.8.1, 0.45.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • blitz-js superjson

    fixed in 1.8.0

  • superjsonnpm

    fixed in 1.8.1

  • blitznpm

    fixed in 0.45.3

References 3

GitHub · blitz-js/superjson

GitHub Advisory Database

sonarsource.com