seroval denial of service in sequence deserialization
lxsmnsyc seroval
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| seroval npm |
|
|
Original description
Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON and fromCrossJSON do not validate a sequence node's done index. A crafted done index can create an iterator that never finishes when application code consumes it to completion. An unauthenticated request to a service that deserializes untrusted input can therefore block the event loop, exhaust process memory, or make the service unavailable. This issue is fixed in version 1.6.8.
From the CVE record · GitHub_M