github.com/spacemeshos/go-spacemesh
Affected
- introduced
0, fixed1.5.2-hotfix1(semver)
Fixed versions
1.5.2-hotfix1
Fix
- Fixed version
1.5.2-hotfix1go get github.com/spacemeshos/[email protected]
Advisory
Also known as: CVE-2024-34360, GO-2024-2831
Previous ATX is not checked to be the newest valid ATX by Smesher when validating incoming ATX
Impact
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 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.
Patches
Workarounds
n/a
References
Spacemesh protocol whitepaper: https://spacemesh.io/blog/spacemesh-white-paper-1/, specifically sections 4.4.2 ("ATX Contents") and 4.4.3 ("ATX validity")
High Basis: The source's own band: HIGH
0, fixed 1.5.2-hotfix1 (semver)1.5.2-hotfix1
1.5.2-hotfix1go get github.com/spacemeshos/[email protected]0, fixed 1.37.1 (semver)1.37.1
1.37.1go get github.com/spacemeshos/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0