{"id":"GHSA-8327-84cj-8xjm","aliases":["RUSTSEC-2024-0362"],"status":"published","title":"Stack overflow when parsing specially crafted JSON ABI strings","description":"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).","severity":{"version":"4.0","score":6.9,"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2024-07-30T12:00:00Z","modified":"2025-10-28T06:29:23Z","fixes":[{"ecosystem":"crates.io","package":"alloy-json-abi","fixed_in":["0.7.7"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"alloy-json-abi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.7.7"}]}]},{"source":"osv","ecosystem":"crates.io","package":"alloy-json-abi","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.7"}]}]},{"source":"osv","ecosystem":"crates.io","package":"alloy-json-abi","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.7.7"}]}]}],"references":[{"url":"https://github.com/alloy-rs/core/issues/702","tags":["web","report"]},{"url":"https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0362.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-8327-84cj-8xjm"},{"url":"https://github.com/alloy-rs/core","tags":["package"]},{"url":"https://crates.io/crates/alloy-json-abi","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-8327-84cj-8xjm","title":"Stack overflow when parsing specially crafted JSON ABI strings","description":"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","status":"published","published":"2024-08-15T22:10:06Z","modified":"2024-08-15T22:10:08Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:37:59.336921Z"}],"osv":[{"id":"GHSA-8327-84cj-8xjm","title":"Stack overflow when parsing specially crafted JSON ABI strings","description":"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","status":"published","published":"2024-08-15T22:10:06Z","modified":"2025-10-28T06:29:23.761421Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"RUSTSEC-2024-0362","title":"Stack overflow when parsing specially crafted JSON ABI strings","description":"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.","status":"published","published":"2024-07-30T12:00:00Z","modified":"2025-10-28T06:29:23.761421Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
