cosmwasm-vm
Affected
- introduced
0, fixed1.5.6(semver)
Fixed versions
1.5.6
Fix
- Fixed version
1.5.6cargo update -p cosmwasm-vm --precise 1.5.6
Advisory
Also known as: RUSTSEC-2024-0361
Gas mispricing in cosmwasm-vm
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.5.6 (semver)1.5.6
1.5.6cargo update -p cosmwasm-vm --precise 1.5.62.0.0, fixed 2.0.5 (semver)2.0.5
2.0.5cargo update -p cosmwasm-vm --precise 2.0.52.1.0, fixed 2.1.2 (semver)2.1.2
2.1.2cargo update -p cosmwasm-vm --precise 2.1.22.1.0, fixed 2.1.2 (semver)2.1.2
2.1.2go get github.com/CosmWasm/wasmvm/[email protected]2.0.0, fixed 2.0.3 (semver)2.0.3
2.0.3go get github.com/CosmWasm/wasmvm/[email protected]0, fixed 1.5.4 (semver)1.5.4
1.5.4go get github.com/CosmWasm/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0