All reports
Medium

Gas mispricing in cosmwasm-vm

Affected versions

Version ranges need review.

Rust / Cargocosmwasm-vm
Affected versions
>=0.0.0-0 <1.5.7 || >=2.0.0 <2.0.6 || >=2.1.0 <2.1.3
Fixed version
1.5.7 · 2.0.6 · 2.1.3
Rust / Cargocosmwasm-vm
Affected versions
>= 2.0.0, < 2.0.5
Fixed version
2.0.5
Rust / Cargocosmwasm-vm
Affected versions
>= 2.1.0, < 2.1.2
Fixed version
2.1.2
Rust / Cargocosmwasm-vm
Affected versions
< 1.5.6
Fixed version
1.5.6
Affected versions
>= 2.0.0, < 2.0.3
Fixed version
2.0.3
Affected versions
>= 2.1.0, < 2.1.2
Fixed version
2.1.2
Affected versions
< 1.5.4
Fixed version
1.5.4

Description

Component: wasmvm Criticality: Medium (ACMv1: 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 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 for more details.

Links

Credits

  • unknownfeature