GHSA-rr69-rxr6-8qwfHighCVSS 7.5
serde-json-wasm stack overflow during recursive JSON parsing
🔗 CVE IDs covered (1)
📋 Description
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 products2
- rust/serde-json-wasm:= 1.0.0
- rust/serde-json-wasm:< 0.5.2
🔗 References (5)
- https://github.com/CosmWasm/serde-json-wasm/commit/a9a9b9bf243862bd2afbf6853fca97f30dc4f620
- https://github.com/CosmWasm/serde-json-wasm/commit/e78f9e28b3a2151d3175ee88ab2a001bf9515429
- https://rustsec.org/advisories/RUSTSEC-2024-0012.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-58264
- https://github.com/advisories/GHSA-rr69-rxr6-8qwf