Add serde-json-wasm stack-overflow (#1867)

This commit is contained in:
Christoph Otter
2024-02-09 03:02:21 +01:00
committed by GitHub
parent 2bb64f5005
commit f395a84350

View File

@@ -0,0 +1,17 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "serde-json-wasm"
date = "2024-01-24"
categories = ["denial-of-service"]
keywords = ["stack-overflow", "json"]
[versions]
patched = [">= 1.0.1", ">= 0.5.2, < 1.0.0"]
```
# Stack overflow during recursive JSON parsing
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.