Advisory

GHSA-rr69-rxr6-8qwf

Also known as: CVE-2024-58264, RUSTSEC-2024-0012

Summary

serde-json-wasm stack overflow during recursive JSON parsing

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-02-09 16:03 UTC
Modified
2025-07-28 16:27 UTC

Affected packages and fixes

serde-json-wasm

crates.io · All systems

Affected

  • introduced 1.0.0, fixed 1.0.1 (semver)

Fixed versions

1.0.1

Fix

  • Fixed version 1.0.1
    cargo update -p serde-json-wasm --precise 1.0.1

serde-json-wasm

crates.io · All systems

Affected

  • introduced 0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

  • Fixed version 0.5.2
    cargo update -p serde-json-wasm --precise 0.5.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences