CVE-2024-34360 Previous ATX is not checked to be the newest valid ATX by Smesher when validating incoming ATX
HighCVSS 8.2
EPSS 0.73%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| spacemeshos github.com/spacemeshos/go-spacemesh(Go) | < 1.5.2-hotfix1 | 1.5.2-hotfix1 |
| spacemeshos github.com/spacemeshos/api(Go) | < 1.37.1 | 1.37.1 |
| spacemeshos github.com/spacemeshos/api/release/go(Go) | < 1.37.1 | 1.37.1 |
| spacemeshos github.com/spacemeshos/go-spacemesh | = < 1.5.2-hotfix1 | No fix listed |
| spacemeshos github.com/spacemeshos/go-spacemesh | < 1.5.2-hotfix1 | 1.5.2-hotfix1 |
References
- https://github.com/spacemeshos/go-spacemesh/security/advisories/GHSA-jcqq-g64v-gcm7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/spacemeshos/api/commit/1d5bd972bbe225d024c3e0ae5214ddb6b481716e patch
- https://github.com/spacemeshos/go-spacemesh/commit/9aff88d54be809ac43d60e8a8b4d65359c356b87 patch
- github.com product
- pkg.go.dev
- spacemesh.io
- github.com