CVE-2022-23631
Prototype Pollution leading to Remote Code Execution in superjson
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA.
Description
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | blitz, superjson | 0.45.3 et 1 autres |
Afficher les 2 entrées d'une source
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | blitz | 0.45.3 |
| npm::GitHub Security Advisory npm | superjson | 1.8.1 |
Références
- 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/