ADVISORIES

GitHub Advisory Database

GHSA-3j22-8qj3-26mx

Seroval affected by Denial of Service via Deeply Nested Objects

Details

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.

Affected packages

EcosystemPackageAffected versions
npmseroval
All versions before 1.4.1 (fixed in 1.4.1)

References