RUSTSEC-2024-0012

    Dashboard / Vulnerabilities / RUSTSEC-2024-0012

    RUSTSEC-2024-0012

    Published: 24 Jan 2024Last Modified: 28 Oct 2025

    Summary: Stack overflow during recursive JSON parsing

    Details: When parsing untrusted, deeply nested JSON, the stack may overflow, possibly enabling a Denial of Service attack. This was fixed by adding a check for recursion depth.

    Affected packages

    Package

    Name: serde-json-wasm

    Purl: pkg:cargo/serde-json-wasm

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.5.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2024-0012 | CVE-DB