GHSA-8327-84cj-8xjm Stack overflow when parsing specially crafted JSON ABI strings
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io alloy-json-abi(crates.io) | <= 0.7.7; >= 0.0.0-0, < 0.8.0 | 0.8.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io alloy-json-abi(crates.io) | <= 0.7.7 | No fix listed |
| crates.io alloy-json-abi(crates.io) | >= 0.0.0-0, < 0.8.0 | 0.8.0 |
References
- github.com issue-tracking
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com