{"id":"GHSA-8327-84cj-8xjm","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. \n\nThis stack overflow can lead to a crash of the application using this crate, potentially causing a denial of service.\n\nThe flaw was corrected in commit [4790c47](https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15).\n","aliases":["RUSTSEC-2024-0362"],"modified":"2025-10-28T06:29:23.761421Z","published":"2024-08-15T22:10:06Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-08-15T22:10:06Z","nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/alloy-rs/core/issues/702"},{"type":"WEB","url":"https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15"},{"type":"PACKAGE","url":"https://github.com/alloy-rs/core"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2024-0362.html"}],"affected":[{"package":{"name":"alloy-json-abi","ecosystem":"crates.io","purl":"pkg:cargo/alloy-json-abi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-8327-84cj-8xjm/GHSA-8327-84cj-8xjm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}