Go Vulnerability Database
GO-2024-2831
ATX protocol validation problem in github.com/spacemeshos/go-spacemesh
Details
Nodes can publish 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/spacemeshos/api/release/go | All versions before 1.37.1 (fixed in 1.37.1) |
| Go | github.com/spacemeshos/go-spacemesh | All versions before 1.5.2-hotfix1 (fixed in 1.5.2-hotfix1) |
References
- https://github.com/spacemeshos/go-spacemesh/security/advisories/GHSA-jcqq-g64v-gcm7
- https://github.com/spacemeshos/api/commit/1d5bd972bbe225d024c3e0ae5214ddb6b481716e
- https://github.com/spacemeshos/go-spacemesh/commit/9aff88d54be809ac43d60e8a8b4d65359c356b87
- https://spacemesh.io/blog/spacemesh-white-paper-1