Advisories
For your digest

cosmwasm-vm, github.com/CosmWasm/wasmvm: wasmvm: Malicious smart contract can slow down block production

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • cosmwasm-vm (crates.io): from 2.2.0, before 2.2.1
  • cosmwasm-vm (crates.io): from 2.1.0, before 2.1.6
  • cosmwasm-vm (crates.io): from 2.0.0, before 2.0.9
  • cosmwasm-vm (crates.io): every version, before 1.5.10
  • github.com/CosmWasm/wasmvm (Go): from 0.1.0, before 1.5.8
  • github.com/CosmWasm/wasmvm/v2 (Go): from 2.2.0, before 2.2.2
  • github.com/CosmWasm/wasmvm/v2 (Go): from 2.1.0, before 2.1.5
  • github.com/CosmWasm/wasmvm/v2 (Go): from 2.0.0, before 2.0.6
  • github.com/CosmWasm/wasmvm (Go): every version, before 0.0.0-20250204093451-1f4db20199b8
  • github.com/CosmWasm/wasmvm/v2 (Go): every version, before 2.0.0-20250204103256-d62c3b826a9d
  • github.com/CosmWasm/wasmvm (Go): from 1.5.8-0, before 1.5.8-0.20250204093451-1f4db20199b8
  • github.com/CosmWasm/wasmvm/v2 (Go): from 2.0.6-0, before 2.0.6-0.20250204103256-d62c3b826a9d
  • And 2 more entries.

The fix

  • cosmwasm-vm (crates.io) fixed in 2.2.1

    cargo
    cargo update -p cosmwasm-vm --precise 2.2.1
    Check what is installed
    cargo tree -i cosmwasm-vm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the crates.io dependency cosmwasm-vm to 2.2.1 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • cosmwasm-vm (crates.io) fixed in 2.1.6

    cargo
    cargo update -p cosmwasm-vm --precise 2.1.6
    Check what is installed
    cargo tree -i cosmwasm-vm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the crates.io dependency cosmwasm-vm to 2.1.6 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • cosmwasm-vm (crates.io) fixed in 2.0.9

    cargo
    cargo update -p cosmwasm-vm --precise 2.0.9
    Check what is installed
    cargo tree -i cosmwasm-vm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the crates.io dependency cosmwasm-vm to 2.0.9 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • cosmwasm-vm (crates.io) fixed in 1.5.10

    cargo
    cargo update -p cosmwasm-vm --precise 1.5.10
    Check what is installed
    cargo tree -i cosmwasm-vm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the crates.io dependency cosmwasm-vm to 1.5.10 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm (Go) fixed in 1.5.8

    go
    go get github.com/CosmWasm/wasmvm@v1.5.8
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm to 1.5.8 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm (Go) fixed in 0.0.0-20250204093451-1f4db20199b8

    go
    go get github.com/CosmWasm/wasmvm@v0.0.0-20250204093451-1f4db20199b8
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm to 0.0.0-20250204093451-1f4db20199b8 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm (Go) fixed in 1.5.8-0.20250204093451-1f4db20199b8

    go
    go get github.com/CosmWasm/wasmvm@v1.5.8-0.20250204093451-1f4db20199b8
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm to 1.5.8-0.20250204093451-1f4db20199b8 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm/v2 (Go) fixed in 2.2.2

    go
    go get github.com/CosmWasm/wasmvm/v2@v2.2.2
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm/v2
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm/v2 to 2.2.2 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm/v2 (Go) fixed in 2.1.5

    go
    go get github.com/CosmWasm/wasmvm/v2@v2.1.5
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm/v2
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm/v2 to 2.1.5 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm/v2 (Go) fixed in 2.0.6

    go
    go get github.com/CosmWasm/wasmvm/v2@v2.0.6
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm/v2
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm/v2 to 2.0.6 or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm/v2 (Go) fixed in 2.0.0-20250204103256-d62c3b826a9d

    go
    go get github.com/CosmWasm/wasmvm/v2@v2.0.0-20250204103256-d62c3b826a9d
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm/v2
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm/v2 to 2.0.0-20250204103256-d62c3b826a9d or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/CosmWasm/wasmvm/v2 (Go) fixed in 2.0.6-0.20250204103256-d62c3b826a9d

    go
    go get github.com/CosmWasm/wasmvm/v2@v2.0.6-0.20250204103256-d62c3b826a9d
    Check what is installed
    go list -m github.com/CosmWasm/wasmvm/v2
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/CosmWasm/wasmvm/v2 to 2.0.6-0.20250204103256-d62c3b826a9d or the nearest later release, to fix GHSA-mx2j-7cmv-353c. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".