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.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
References
github.com/...eroval/security/advisories/GHSA-3j22-8qj3-26mx
github.com/...ommit/ce9408ebc87312fcad345a73c172212f2a798060