RCE in Blitz-Js Superjson
CVE-2022-23631
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.027, 86.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Blitz-Js Superjson — versions < 1.8.0
- Blitzjs Blitz
- Blitzjs Superjson
Weakness classification (CWE)
References
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425 (Exploit, Third Party Advisory)
- https://github.com/advisories/GHSA-5888-ffcr-r425 (Exploit, Third Party Advisory)
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/ (Exploit, Third Party Advisory)