GitHub Advisoryadvisory · crates.io

GHSA-rr69-rxr6-8qwf serde-json-wasm stack overflow during recursive JSON parsing

HIGH Published 2024-02-09 Modified 2025-07-28 Official page ↗
Aliases
CVE-2024-58264
Ecosystem
crates.io
Packages
serde-json-wasm
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Reviewed
2024-02-09

Affected packages

• crates.io serde-json-wasm: >= 1.0.0, < 1.0.1 → fixed in 1.0.1 • crates.io serde-json-wasm: < 0.5.2 → fixed in 0.5.2

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.

Related

Alias · CVE (1)

  • CVE-2024-58264 The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data. vulnerability

References