{"id":"RUSTSEC-2024-0012","summary":"Stack overflow during recursive JSON parsing","details":"When parsing untrusted, deeply nested JSON, the stack may overflow,\npossibly enabling a Denial of Service attack.\nThis was fixed by adding a check for recursion depth.","aliases":["CVE-2024-58264","GHSA-rr69-rxr6-8qwf"],"modified":"2025-10-28T06:02:18Z","published":"2024-01-24T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/serde-json-wasm"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0012.html"}],"affected":[{"package":{"name":"serde-json-wasm","ecosystem":"crates.io","purl":"pkg:cargo/serde-json-wasm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.5.2"},{"introduced":"1.0.0"},{"fixed":"1.0.1"}]}],"ecosystem_specific":{"affects":{"arch":[],"functions":[],"os":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0012.json","informational":null,"cvss":null,"categories":["denial-of-service"]}}],"schema_version":"1.7.3"}