CVE-2022-23631
Prototype Pollution leading to Remote Code Execution in superjson
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA.
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | blitz, superjson | 0.45.3 y 1 más |
Mostrar las 2 entradas de 1 fuente
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | blitz | 0.45.3 |
| npm::GitHub Security Advisory npm | superjson | 1.8.1 |
Referencias
- https://github.com/advisories/GHSA-5888-ffcr-r425
- https://github.com/blitz-js/superjson
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425
- https://nvd.nist.gov/vuln/detail/CVE-2022-23631
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/