Stack overflow when parsing specially crafted JSON ABI strings
Moderate severity
GitHub Reviewed
Published
Aug 15, 2024
to the GitHub Advisory Database
•
Updated Aug 15, 2024
Description
Published to the GitHub Advisory Database
Aug 15, 2024
Reviewed
Aug 15, 2024
Last updated
Aug 15, 2024
Affected versions of the
alloy-json-abi
crate did not properly handle parsing of malformatted JSON ABI strings. TheJsonAbi::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.
References