Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in seroval 1.6.8.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| lxsmnsyc | <1.6.8 | ||
| npm: seroval | <=1.6.7 | 1.6.8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in seroval (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket