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.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.7%top 45.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/spacemeshos/api1.37.1GHSA-jcqq-g64v-gcm7
Gogithub.com/spacemeshos/api/release/go1.37.1GO-2024-2831
Gogithub.com/spacemeshos/go-spacemesh1.5.2-hotfix1GHSA-jcqq-g64v-gcm7
Gogithub.com/spacemeshos/go-spacemesh1.5.2-hotfix1GO-2024-2831

Affected products (as reported)

VendorProductVersions
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