CVE-2022-23631
Prototype Pollution leading to Remote Code Execution in superjson
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| npm::GitHub Security Advisory npm | blitz, superjson | 0.45.3 und 1 weitere |
Alle 2 Einträge aus 1 Quelle zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| npm::GitHub Security Advisory npm | blitz | 0.45.3 |
| npm::GitHub Security Advisory npm | superjson | 1.8.1 |
Referenzen
- 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/