Skip to content

serde-json-wasm stack overflow during recursive JSON parsing

High severity GitHub Reviewed Published Feb 9, 2024 to the GitHub Advisory Database • Updated Feb 9, 2024

Package

cargo serde-json-wasm (Rust)

Affected versions

= 1.0.0
< 0.5.2

Patched versions

1.0.1
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.

References

Published to the GitHub Advisory Database Feb 9, 2024
Reviewed Feb 9, 2024
Last updated Feb 9, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-rr69-rxr6-8qwf
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.