RUSTSEC-2024-0012

Source
https://rustsec.org/advisories/RUSTSEC-2024-0012
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0012.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0012
Aliases
Published
2024-01-24T12:00:00Z
Modified
2024-02-15T01:26:53.566975Z
Summary
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / serde-json-wasm

Package

Name
serde-json-wasm
View open source insights on deps.dev
Purl
pkg:cargo/serde-json-wasm

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.5.2
Introduced
1.0.0
Fixed
1.0.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}