RUSTSEC-2024-0362
MEDIUM 5.3CVSS 3.1Stack overflow when parsing specially crafted JSON ABI strings
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.
- Published
- 30 Jul 2024
- Last modified
- 26 Nov 2026
- Weakness
- CWE-400
- Also known as
- GHSA-8327-84cj-8xjm
- Sources
- OSV GHSA-8327-84cj-8xjmJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | alloy-json-abi | <= 0.7.7 | |
| OSV | crates.io | alloy-json-abi | >= 0.0.0-0, < 0.8.0 | 0.8.0 |
References
- https://github.com/alloy-rs/core/issues/702 · WEB, REPORT
- https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15 · WEB
- https://github.com/alloy-rs/core · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0362.html · WEB, ADVISORY
- https://crates.io/crates/alloy-json-abi · PACKAGE
History
- 26 Nov 2026 10:26 UTC · OSV: affected list changed (1 entry)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Aug 2024)