Read the docs
TI-2022-11762 Aliases CVE-2022-29219GHSA-cvj7-5f3c-9vg9

Integer Overflow in Lodestar

Priority MEDIUM 42CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01344 71st percentileScored 2026-11-07
Fix Fixed lodestar (ChainSafe): 0.36.0@chainsafe/lodestar (npm): 0.36.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ChainSafelodestarbefore 0.36.00.36.0Patch availableCNA
—@chainsafe/lodestar (npm)before 0.36.00.36.0Patch availableGHSA-cvj7-5f3c-9vg9
  • lodestar VendorChainSafe Affected before 0.36.0 Fixed in 0.36.0 Patch available CNA
  • @chainsafe/lodestar (npm) Vendor— Affected before 0.36.0 Fixed in 0.36.0 Patch available GHSA-cvj7-5f3c-9vg9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:chainsafe:lodestar:*:*:*:*:*:*:*:*before 0.36.0VulnerableChainSafe
  • cpe:2.3:a:chainsafe:lodestar:*:*:*:*:*:*:*:* Versions before 0.36.0 Vulnerable ·ChainSafe

Remediation

  • Fix · CNA lodestar (ChainSafe) Fixed in 0.36.0
  • Fix · GHSA-cvj7-5f3c-9vg9 @chainsafe/lodestar (npm) Fixed in 0.36.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-29219
  2. 2026-10-03 Alias added: GHSA-cvj7-5f3c-9vg9

References

Sources