{"cve":"CVE-2022-29219","nvd":{"published":"2022-05-24T15:15:07.843","modified":"2026-06-17T04:39:51.280","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-190"],"references":["https://github.com/ChainSafe/lodestar/pull/3977","https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0","https://github.com/ChainSafe/lodestar/security/advisories/GHSA-cvj7-5f3c-9vg9","https://github.com/ChainSafe/lodestar/pull/3977","https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0"],"products":["chainsafe:lodestar"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2022-29219","score":0.01344,"percentile":0.71387,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cvj7-5f3c-9vg9","url":"https://osv.dev/vulnerability/GHSA-cvj7-5f3c-9vg9","summary":"AttesterSlashing number overflow","modified":"2023-11-08T04:09:11.059602Z","packages":[{"ecosystem":"npm","name":"@chainsafe/lodestar","purl":"pkg:npm/%40chainsafe/lodestar","ranges":["<0.36.0"],"fixed":["0.36.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}