SecurityContext

CVE-2022-29219: Lodestar - Consensus Split

  • Cve: CVE-2022-29219
  • Name: Lodestar - Consensus Split
  • 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.
  • Impact: Nodes may fork from the main network or include invalid slashing data, leading to consensus issues and potential network instability.
  • Remediation: Update to version 0.36.0 or later, or use BigInt for Slot and Epoch values in slashing objects.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.01344
  • Epss percentile: 0.72112
  • Assignee: [email protected]
  • Published at: 2022-05-24T15:15:07Z
  • Age in days: 1645
  • Modified at: 2026-06-17T04:39:51Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-29219
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ChainSafe/lodestar/pull/3977Patch, Third Party Advisory
https://github.com/ChainSafe/lodestar/security/advisories/GHSA-cvj7-5f3c-9vg9Patch, Third Party Advisory
https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0Release Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
chainsafe:lodestar< 0.36.0nonvd/v1/products/chainsafe/lodestar

Projects

RepositoryLink kindsIndexedUrl
ChainSafe/lodestarfix, package, pull, releases, security_advisoryyes/v1/repositories/ChainSafe/lodestar

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts