GHSA-3j22-8qj3-26mx

Suggest an improvement
Source
https://github.com/advisories/GHSA-3j22-8qj3-26mx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-3j22-8qj3-26mx/GHSA-3j22-8qj3-26mx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3j22-8qj3-26mx
Aliases
Published
2026-01-22T18:02:22Z
Modified
2026-02-03T03:10:01.301746Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2026-01-22T03:15:47Z",
    "cwe_ids": [
        "CWE-770"
    ],
    "github_reviewed_at": "2026-01-22T18:02:22Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / seroval

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-3j22-8qj3-26mx/GHSA-3j22-8qj3-26mx.json"
last_known_affected_version_range
"<= 1.4.0"