Vulnerability · Published May 10, 2024 · Assigned by GitHub_M
CVE-2024-34360Previous ATX is not checked to be the newest valid ATX by Smesher when validating incoming ATX
High 8.2
In plain English
A high-severity security flaw in go-spacemesh from spacemeshos. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/spacemeshos/api | 1.37.1 | GHSA-jcqq-g64v-gcm7 |
| Go | github.com/spacemeshos/api/release/go | 1.37.1 | GO-2024-2831 |
| Go | github.com/spacemeshos/go-spacemesh | 1.5.2-hotfix1 | GHSA-jcqq-g64v-gcm7 |
| Go | github.com/spacemeshos/go-spacemesh | 1.5.2-hotfix1 | GO-2024-2831 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| spacemeshos | go-spacemesh | < 1.5.2-hotfix1 |
Weakness: CWE-754 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/spacemeshos/go-spacemesh/security/advisories/GHSA-jcqq-g64v-gcm7 x_refsource_CONFIRM
- https://github.com/spacemeshos/api/commit/1d5bd972bbe225d024c3e0ae5214ddb6b481716e x_refsource_MISC
- https://github.com/spacemeshos/go-spacemesh/commit/9aff88d54be809ac43d60e8a8b4d65359c356b87 x_refsource_MISC