-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add alloy-json-abi stack-overflow (#2033)
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
```toml | ||
[advisory] | ||
id = "RUSTSEC-0000-0000" | ||
package = "alloy-json-abi" | ||
date = "2024-07-30" | ||
url = "https://github.com/alloy-rs/core/issues/702" | ||
keywords = ["stack-overflow"] | ||
|
||
[versions] | ||
patched = [">= 0.7.7"] | ||
``` | ||
|
||
# Stack 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. |