Remote Code Execution (RCE) Affecting superjson package, versions <1.8.1
Threat Intelligence
EPSS
0.48% (76th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-SUPERJSON-2397274
- published 10 Feb 2022
- disclosed 10 Feb 2022
- credit paul-gerste-sonarsource
Introduced: 10 Feb 2022
CVE-2022-23631 Open this link in a new tabHow to fix?
Upgrade superjson
to version 1.8.1 or higher.
Overview
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.
CVSS Scores
version 3.1