RUSTSEC-2024-0362

Source
https://rustsec.org/advisories/RUSTSEC-2024-0362
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0362.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0362
Aliases
Published
2024-07-30T12:00:00Z
Modified
2025-10-28T06:29:23.761421Z
Summary
Stack overflow when parsing specially crafted JSON ABI strings
Details

Affected versions of the alloy-json-abi crate did not properly handle parsing of malformatted JSON ABI strings. The JsonAbi::parse method can be tricked into a stack overflow when processing specially crafted input.

This stack overflow can lead to a crash of the application using this crate, potentially causing a denial of service.

The flaw was corrected in commit 4790c47.

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

Affected packages

crates.io / alloy-json-abi

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.7.7

Ecosystem specific

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

Database specific

informational

null

cvss

null

categories

[]