CVE-2024-34360spacemeshos go-spacemesh
High 8.2 No auth needed
Follow: this CVE · spacemeshos · spacemeshos go-spacemesh We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 52
- Auth required
- No
- Published
- May 14, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-754
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for go-spacemesh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/spacemeshos/api |
< 1.37.1 |
1.37.1 |
go get github.com/spacemeshos/api@v1.37.1 |
| Go | github.com/spacemeshos/api/release/go |
< 1.37.1 |
1.37.1 |
go get github.com/spacemeshos/api/release/go@v1.37.1 |
| Go | github.com/spacemeshos/go-spacemesh |
< 1.5.2-hotfix1 |
1.5.2-hotfix1 |
go get github.com/spacemeshos/go-spacemesh@v1.5.2-hotfix1 |
| Go | github.com/spacemeshos/go-spacemesh |
< 1.5.2-hotfix1 |
1.5.2-hotfix1 |
go get github.com/spacemeshos/go-spacemesh@v1.5.2-hotfix1 |
Per OSV / GitHub Advisories (GHSA-jcqq-g64v-gcm7, GO-2024-2831). Check the version in your lockfile before upgrading.
Affected products
- spacemeshos · go-spacemesh
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.