RUSTSEC-2024-0362

See a problem?
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
Published
2024-07-30T12:00:00Z
Modified
2024-08-15T13:40:17Z
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.

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": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": []
}