NetSight
mittel4.3Noch keine CVE

GHSA-rg2q-2jh9-447q

Gas mispricing in cosmwasm-vm

Auswirkung

**Component:** wasmvm **Criticality:** Medium ([ACMv1](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md): I:Moderate; L:Likely) **Patched versions:** wasmvm 1.5.4, 2.0.3, 2.1.2 Some Wasm operations take significantly more gas than our benchmarks indicated. This can lead to missing the [gas target](https://github.com/CosmWasm/cosmwasm/blob/e50490c4199a234200a497219b27f071c3409f58/docs/GAS.md#cosmwasm-gas-pricing) we defined by a factor of ~10x. This means a malicious contract could take 10 times as much time to execute as expected, which can be used to temporarily DoS a chain. See [CWA-2024-004](https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-004.md) for more details.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
rustcosmwasm-vm< 1.5.61.5.6
rustcosmwasm-vm>= 2.0.0, < 2.0.52.0.5
rustcosmwasm-vm>= 2.1.0, < 2.1.22.1.2
gogithub.com/CosmWasm/wasmvm/v2>= 2.1.0, < 2.1.22.1.2
gogithub.com/CosmWasm/wasmvm/v2>= 2.0.0, < 2.0.32.0.3
gogithub.com/CosmWasm/wasmvm< 1.5.41.5.4

Schwachstellenklasse

Referenzen