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.
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](https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15).
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | alloy-json-abi | <= 0.7.7 | — | GHSA-8327-84cj-8xjm |
| crates.io | alloy-json-abi | >= 0.0.0-0, < 0.7.7 | 0.7.7 | RUSTSEC-2024-0362 |