mittel5.3Noch keine CVE
GHSA-75qh-gg76-p2w4
CWA-2023-004: Excessive number of function parameters in compiled Wasm
Auswirkung
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).
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | cosmwasm-vm | < 1.2.8 | 1.2.8 |
| rust | cosmwasm-vm | >= 1.3.0, < 1.3.4 | 1.3.4 |
| rust | cosmwasm-vm | >= 1.4.0, < 1.4.2 | 1.4.2 |
| rust | cosmwasm-vm | >= 1.5.0, < 1.5.1 | 1.5.1 |
| go | github.com/CosmWasm/wasmvm | < 1.2.5 | 1.2.5 |
| go | github.com/CosmWasm/wasmvm | >= 1.3.0, < 1.3.1 | 1.3.1 |
| go | github.com/CosmWasm/wasmvm | >= 1.4.0, < 1.4.2 | 1.4.2 |
| go | github.com/CosmWasm/wasmvm | >= 1.5.0, < 1.5.1 | 1.5.1 |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-75qh-gg76-p2w4
- https://forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840
- https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md
- https://rustsec.org/advisories/RUSTSEC-2024-0366.html
- https://www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023