-
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 cosmwasm-vm advisory CWA-2023-004 (#2052)
* Add CWA-2023-004 * Fix description
- Loading branch information
Showing
1 changed file
with
20 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,20 @@ | ||
```toml | ||
[advisory] | ||
id = "RUSTSEC-0000-0000" | ||
package = "cosmwasm-vm" | ||
date = "2024-08-27" | ||
url = "https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md" | ||
categories = ["denial-of-service"] | ||
keywords = ["resource-consumption", "crash", "deadlock"] | ||
|
||
[versions] | ||
patched = [">= 1.2.8, < 1.3.0", ">= 1.3.4, < 1.4.0", ">= 1.4.2, < 1.5.0", ">= 1.5.1"] | ||
``` | ||
|
||
# CWA-2023-004: Excessive number of function parameters in compiled Wasm | ||
|
||
A specifically crafted Wasm file can cause the VM to consume excessive amounts of memory when compiling a contract. | ||
This can lead to high memory usage, slowdowns, potentially a crash and can poison a lock in the VM, | ||
preventing any further interaction with contracts. | ||
|
||
For more information, see [CWA-2023-004](https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md). |