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/cosmos/cosmos-sdk: GHSA-x5vx-95h7-rv4p #3476

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

Comments

@GoVulnBot
Copy link

Advisory GHSA-x5vx-95h7-rv4p references a vulnerability in the following Go modules:

Module
github.com/cosmos/cosmos-sdk

Description:
Name: ASA-2025-003: Groups module can halt chain when handling a malicious proposal
Component: CosmosSDK
Criticality: High (Considerable Impact; Likely Likelihood per ACMv1.2)
Affected versions: <= v0.47.15, <= 0.50.11
Affected users: Validators, Full nodes, Users on chains that utilize the groups module

Description

An issue was discovered in the groups module where a malicious proposal would result in a division by zero, and subsequently halt a chain due to the resulting error. Any user that can int...

References:

Cross references:

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

id: GO-ID-PENDING
modules:
    - module: github.com/cosmos/cosmos-sdk
      non_go_versions:
        - introduced: TODO (earliest fixed "0.50.12", vuln range ">= 0.50.0-alpha.0, <= 0.50.11")
        - introduced: TODO (earliest fixed "0.47.16-ics-lsm", vuln range "<= 0.47.15")
      vulnerable_at: 0.50.12
summary: 'Cosmos SDK: Groups module can halt chain when handling a malicious proposal in github.com/cosmos/cosmos-sdk'
ghsas:
    - GHSA-x5vx-95h7-rv4p
references:
    - advisory: https://github.com/advisories/GHSA-x5vx-95h7-rv4p
    - advisory: https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-x5vx-95h7-rv4p
    - fix: https://github.com/cosmos/cosmos-sdk/commit/0a98b65b24900a0e608866c78f172cf8e4140aea
    - web: https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.16
    - web: https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.12
notes:
    - fix: 'module merge error: could not merge versions of module github.com/cosmos/cosmos-sdk: invalid or non-canonical semver version (found TODO (earliest fixed "0.50.12", vuln range ">= 0.50.0-alpha.0, <= 0.50.11"))'
source:
    id: GHSA-x5vx-95h7-rv4p
    created: 2025-02-20T21:01:28.233734651Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/652896 mentions this issue: DO_NOT_SUBMIT

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