Seroval
Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-835
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
lxsmnsyc seroval
- < 1.6.8
Fixed in 1.6.8
Mitigation
Upgrade seroval to 1.6.8 or later.
References
- Vendor advisory github.com/lxsmnsyc/seroval/security/advisorie…
- Patch github.com/lxsmnsyc/seroval/commit/e176f9267e5…
- Release notes github.com/lxsmnsyc/seroval/releases/tag/serov…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.