CVE-2022-23631
9.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| blitz-js | superjson | < 1.8.0 | affected |
Weaknesses
- CWE-94: CWE-94: Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425
- https://github.com/advisories/GHSA-5888-ffcr-r425
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/
References
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425
- https://github.com/advisories/GHSA-5888-ffcr-r425
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.