Seroval affected by Denial of Service via Deeply Nested Objects
lxsmnsyc seroval
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| seroval npm |
|
|
Original description
Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. In versions 1.4.0 and below, serialization of objects with extreme depth can exceed the maximum call stack limit. In version 1.4.1, Seroval introduces a `depthLimit` parameter in serialization/deserialization methods. An error will be thrown if the depth limit is reached.
From the CVE record · GitHub_M