GHSA-75qh-gg76-p2w4 json
CWA-2023-004: Excessive number of function parameters in compiled Wasm
published 2y ago modified 8mo ago also GO-2024-3101 , RUSTSEC-2024-0366
- cvss
- 5.3
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- crates.io cosmwasm-vm 1.2.8, 1.3.4, 1.4.2, 1.5.1
- go github.com/CosmWasm/wasmvm 1.2.5, 1.3.1, 1.4.2, 1.5.1
Is GHSA-75qh-gg76-p2w4 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | cosmwasm-vm | <1.2.8 >=1.3.0, <1.3.4 >=1.4.0, <1.4.2 >=1.5.0, <1.5.1 >=0.0.0-0, <1.2.8 |
1.2.8 1.3.4 1.4.2 1.5.1 |
| go | github.com/CosmWasm/wasmvm | <1.2.5 >=1.3.0, <1.3.1 >=1.4.0, <1.4.2 >=1.5.0, <1.5.1 |
1.2.5 1.3.1 1.4.2 1.5.1 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
forum.cosmos.network
/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840
web
-
github.com
/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md
web, advisory
-
github.com
/advisories/GHSA-75qh-gg76-p2w4
advisory
-
rustsec.org
/advisories/RUSTSEC-2024-0366.html
web, advisory
-
certik.com
/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023
web
-
crates.io
/crates/cosmwasm-vm
package
Sources
- GitHub Advisory GHSA-75qh-gg76-p2w4
- OSV GO-2024-3101
- OSV RUSTSEC-2024-0366
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.