{"id":"GHSA-8327-84cj-8xjm","aliases":["GHSA-8327-84cj-8xjm","RUSTSEC-2024-0362"],"related":[],"kind":"vulnerability","state":"published","title":"Stack overflow when parsing specially crafted JSON ABI strings","summary":"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).","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"rustsec"}],"published":"2024-07-30T12:00:00.000Z","modified":"2026-11-26T08:15:02.251Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.7.7"}],"ecosystem":"crates.io","package":"alloy-json-abi","purl":"pkg:cargo/alloy-json-abi","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.8.0"}],"ecosystem":"crates.io","package":"alloy-json-abi","purl":"pkg:cargo/alloy-json-abi","source":"rustsec"}],"references":[{"url":"https://github.com/alloy-rs/core/issues/702","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/alloy-rs/core","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0362.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/alloy-json-abi","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8327-84cj-8xjm","url":"https://github.com/advisories/GHSA-8327-84cj-8xjm","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:23.761Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0362","url":"https://rustsec.org/advisories/RUSTSEC-2024-0362.html","licence":"CC0-1.0","modified":"2026-11-26T08:15:02.251Z"}],"updatedAt":"2026-11-26T08:27:24.889Z"}