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/spacemeshos/go-spacemesh: CVE-2024-34360 #2832

Closed
GoVulnBot opened this issue May 10, 2024 · 2 comments
Assignees

Comments

@GoVulnBot
Copy link

CVE-2024-34360 references github.com/spacemeshos/go-spacemesh, which may be a Go module.

Description:
go-spacemesh is a Go implementation of the Spacemesh protocol full node. Nodes can publish activations transactions (ATXs) which reference the incorrect previous ATX of the Smesher that created the ATX. ATXs are expected to form a single chain from the newest to the first ATX ever published by an identity. Allowing Smeshers to reference an earlier (but not the latest) ATX as previous breaks this protocol rule and can serve as an attack vector where Nodes are rewarded for holding their PoST data for less than one epoch but still being eligible for rewards. This vulnerability is fixed in go-spacemesh 1.5.2-hotfix1 and Spacemesh API 1.37.1.

References:

Cross references:
No existing reports found with this module or alias.

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

id: GO-ID-PENDING
modules:
    - module: github.com/spacemeshos/go-spacemesh
      vulnerable_at: 1.5.2
      packages:
        - package: go-spacemesh
summary: CVE-2024-34360 in github.com/spacemeshos/go-spacemesh
cves:
    - CVE-2024-34360
references:
    - advisory: https://github.com/spacemeshos/go-spacemesh/security/advisories/GHSA-jcqq-g64v-gcm7
    - fix: https://github.com/spacemeshos/api/commit/1d5bd972bbe225d024c3e0ae5214ddb6b481716e
    - fix: https://github.com/spacemeshos/go-spacemesh/commit/9aff88d54be809ac43d60e8a8b4d65359c356b87
source:
    id: CVE-2024-34360

@timothy-king
Copy link
Contributor

Duplicate of #2831

@timothy-king timothy-king marked this as a duplicate of #2831 May 12, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/585075 mentions this issue: data/reports: add GO-2024-2831.yaml

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