The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://rustsec.org/advisories/RUSTSEC-2024-0012.html | third party advisory |
https://github.com/advisories/GHSA-rr69-rxr6-8qwf | third party advisory |
https://crates.io/crates/serde-json-wasm | product |