Affected versions
npmseroval
- Affected versions
- <= 1.4.0
- Fixed version
- 1.4.1
Exploitation
Description
Serialization of objects with extreme depth can exceed the maximum call stack limit.
Mitigation:
Seroval introduces a depthLimit parameter in serialization/deserialization methods. An error will be thrown if the depth limit is reached.
Links
Credits
- lxsmnsyc
- tweidinger

