Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/CosmWasm/wasmvm/v2: GHSA-23qp-3c2m-xx6w #3448

Open
GoVulnBot opened this issue Feb 4, 2025 · 1 comment

Comments

@GoVulnBot
Copy link

Advisory GHSA-23qp-3c2m-xx6w references a vulnerability in the following Go modules:

Module
github.com/CosmWasm/wasmvm
github.com/CosmWasm/wasmvm/v2

Description:

CWA-2025-001

Severity

Medium (Moderate + Likely)[^1]

Affected versions:

  • wasmvm >= 2.2.0, < 2.2.2
  • wasmvm >= 2.1.0, < 2.1.5
  • wasmvm >= 2.0.0, < 2.0.6
  • wasmvm < 1.5.8

Patched versions:

  • wasmvm 1.5.8, 2.0.6, 2.1.5, 2.2.2

Description of the bug

The vulnerability can be used to crash the chain. The underlying bug that causes this is present on both permissioned and premissionless chains, but it can only be triggered reliably with a malicious contract, so permissioned chains are much less likely to be affected.

(We'll add more detail once chains had a chance to upgr...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/CosmWasm/wasmvm
      versions:
        - fixed: 1.5.8
      vulnerable_at: 1.5.7
    - module: github.com/CosmWasm/wasmvm/v2
      versions:
        - introduced: 2.0.0
        - fixed: 2.0.6
        - introduced: 2.1.0
        - fixed: 2.1.5
        - introduced: 2.2.0
        - fixed: 2.2.2
      vulnerable_at: 2.2.1
summary: 'wasmvm: Malicious smart contract can crash the chain in github.com/CosmWasm/wasmvm'
ghsas:
    - GHSA-23qp-3c2m-xx6w
references:
    - advisory: https://github.com/CosmWasm/wasmvm/security/advisories/GHSA-23qp-3c2m-xx6w
    - advisory: https://github.com/advisories/GHSA-23qp-3c2m-xx6w
    - fix: https://github.com/CosmWasm/wasmvm/commit/0aefa4c378457aeb3c07e7975b875be38872c56d
    - fix: https://github.com/CosmWasm/wasmvm/commit/1151bc6df7d02d1889b8da37cf8510eaf4198eea
    - fix: https://github.com/CosmWasm/wasmvm/commit/8d44a286fabc793a2fba93752e58cd0fd5b88a2d
    - fix: https://github.com/CosmWasm/wasmvm/commit/d4ff2adee44e6b9f7415a5dfbb3de745ab9b7678
    - web: https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2025-001.md
source:
    id: GHSA-23qp-3c2m-xx6w
    created: 2025-02-04T19:01:18.699793508Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/647056 mentions this issue: data/reports: add 2 needs review reports

gopherbot pushed a commit that referenced this issue Feb 5, 2025
  - data/reports/GO-2025-3448.yaml
  - data/reports/GO-2025-3449.yaml

Updates #3448
Updates #3449

Change-Id: Ia36b7c1627053f98f3c7503729d0a474c4f0f8e8
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/647056
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Tatiana Bradley <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
@tatianab tatianab assigned tatianab and unassigned tatianab Feb 7, 2025
@tatianab tatianab self-assigned this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants