ADVISORIES

GitHub Advisory Database

GHSA-66fc-rw6m-c2q6

Seroval affected by Denial of Service via Array serialization

Details

Overriding encoded array lengths by replacing them with an excessively large value causes the deserialization process to significantly increase processing time.

Mitigation: Seroval no longer encodes array lengths. Instead, it computes length using Array.prototype.length during deserialization.

Affected packages

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

References