{"id":"CVE-2024-34360","aliases":["CVE-2024-34360","GHSA-jcqq-g64v-gcm7","GO-2024-2831"],"related":[],"kind":"vulnerability","state":"published","title":"Previous ATX is not checked to be the newest valid ATX by Smesher when validating incoming ATX","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nNodes 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.\n\n### Patches\n- API needs to be extended to be able to fetch events from a node that dected malicious behavior of this regard by the node\n- go-spacemesh needs to be patched to a) not allow publishing these ATXs any more and b) create malfeasance proofs for identities that published invalid ATXs in the past.\n\n### Workarounds\nn/a\n\n### References\nSpacemesh protocol whitepaper: https://spacemesh.io/blog/spacemesh-white-paper-1/, specifically sections 4.4.2 (\"ATX Contents\") and 4.4.3 (\"ATX validity\")","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"go-spacemesh es una implementación Go del nodo completo del protocolo Spacemesh. Los nodos pueden publicar transacciones de activaciones (ATX) que hacen referencia al ATX anterior incorrecto del Smesher que creó el ATX. Se espera que los ATX formen una única cadena desde el más nuevo hasta el primer ATX jamás publicado por una identidad. Permitir que Smeshers haga referencia a un ATX anterior (pero no al último) como anterior rompe esta regla de protocolo y puede servir como un vector de ataque donde los nodos son recompensados por conservar sus datos PoST durante menos de una época pero aún ser elegibles para recibir recompensas. Esta vulnerabilidad se solucionó en go-spacemesh 1.5.2-hotfix1 y Spacemesh API 1.37.1.","source":"nvd"}],"published":"2024-05-10T15:33:40.000Z","modified":"2026-09-10T03:49:18.839Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-754"],"affected":[{"ranges":[{"version":"< 1.5.2-hotfix1","status":"affected"}],"vendor":"spacemeshos","product":"go-spacemesh","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.5.2-hotfix1","status":"affected"}],"vendor":"spacemeshos","product":"go-spacemesh","cpe":"cpe:2.3:a:spacemeshos:go-spacemesh:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.2-hotfix1"}],"ecosystem":"Go","package":"github.com/spacemeshos/go-spacemesh","purl":"pkg:golang/github.com/spacemeshos/go-spacemesh","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.37.1"}],"ecosystem":"Go","package":"github.com/spacemeshos/api","purl":"pkg:golang/github.com/spacemeshos/api","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.37.1"}],"ecosystem":"Go","package":"github.com/spacemeshos/api/release/go","purl":"pkg:golang/github.com/spacemeshos/api/release/go","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.2-hotfix1"}],"ecosystem":"Go","package":"github.com/spacemeshos/go-spacemesh","purl":"pkg:golang/github.com/spacemeshos/go-spacemesh","source":"go"}],"references":[{"url":"https://github.com/spacemeshos/go-spacemesh/security/advisories/GHSA-jcqq-g64v-gcm7","tags":["advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/spacemeshos/api/commit/1d5bd972bbe225d024c3e0ae5214ddb6b481716e","tags":["fix","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/spacemeshos/go-spacemesh/commit/9aff88d54be809ac43d60e8a8b4d65359c356b87","tags":["fix","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34360","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spacemeshos/go-spacemesh","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2831","tags":["web"],"sources":["ghsa"]},{"url":"https://spacemesh.io/blog/spacemesh-white-paper-1","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-06-17T18:45:08.203Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34360","url":"https://www.cve.org/CVERecord?id=CVE-2024-34360","licence":"CVE Terms of Use","modified":"2024-08-02T02:51:11.433Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jcqq-g64v-gcm7","url":"https://github.com/advisories/GHSA-jcqq-g64v-gcm7","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:18.839Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2831","url":"https://pkg.go.dev/vuln/GO-2024-2831","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34360","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34360","licence":"Public domain","modified":"2026-06-17T07:33:14.853Z"}],"updatedAt":"2026-11-25T22:58:40.179Z","epss":{"score":0.00734,"percentile":0.55621,"date":"2026-12-01T12:00:22.000Z"}}