{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-29219","published":"2022-05-24T15:15:07.843000Z","last_modified":"2026-06-17T04:39:51.280000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:chainsafe:lodestar:*:*:*:*:*:*:*:*","part":"a","vendor":"chainsafe","product":"lodestar","version_end_excluding":"0.36.0"}],"cpes_truncated":false,"vendors":["chainsafe"],"products":["chainsafe/lodestar"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01315,"percentile":0.70892,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cvj7-5f3c-9vg9","ecosystem":"npm","name":"@chainsafe/lodestar","purl":"pkg:npm/%40chainsafe/lodestar","ranges":[{"introduced":"0","fixed":"0.36.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-29219/","html_en":"/en/cve/CVE-2022-29219/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-29219","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-29219"},"untrusted":{"vendor_name":"Chainsafe","product_name":"Lodestar","desc_en":"Lodestar is a TypeScript implementation of the Ethereum Consensus specification. Prior to version 0.36.0, there is a possible consensus split given maliciously-crafted `AttesterSlashing` or `ProposerSlashing` being included on-chain. Because the developers represent `uint64` values as native javascript `number`s, there is an issue when those variables with large (greater than 2^53) `uint64` values are included on chain. In those cases, Lodestar may view valid_`AttesterSlashing` or `ProposerSlashing` as invalid, due to rounding errors in large `number` values. This causes a consensus split, where Lodestar nodes are forked away from the main network. Similarly, Lodestar may consider invalid `ProposerSlashing` as valid, thus including in proposed blocks that will be considered invalid by the network. Version 0.36.0 contains a fix for this issue. As a workaround, use `BigInt` to represent `Slot` and `Epoch` values in `AttesterSlashing` and `ProposerSlashing` objects. `BigInt` is too slow to be used in all `Slot` and `Epoch` cases, so one may carefully use `BigInt` just where necessary for consensus.","affected":[{"untrusted_vendor":"ChainSafe","untrusted_product":"lodestar","versions":[]}],"references":[{"url":"https://github.com/ChainSafe/lodestar/pull/3977","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/ChainSafe/lodestar/security/advisories/GHSA-cvj7-5f3c-9vg9","tags":["Patch","Third Party Advisory"]}]}}