CVE-2022-29219
Lodestar Ethereum Consensus Rounding Error arithmetic-overflow Vulnerability
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.
INFO
Published Date :
May 24, 2022, 3:15 p.m.
Last Modified :
June 7, 2022, 4:25 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-29219
.
URL | Resource |
---|---|
https://github.com/ChainSafe/lodestar/pull/3977 | Patch Third Party Advisory |
https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0 | Release Notes Third Party Advisory |
https://github.com/ChainSafe/lodestar/security/advisories/GHSA-cvj7-5f3c-9vg9 | Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29219
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29219
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 07, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/ChainSafe/lodestar/pull/3977 No Types Assigned https://github.com/ChainSafe/lodestar/pull/3977 Patch, Third Party Advisory Changed Reference Type https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0 No Types Assigned https://github.com/ChainSafe/lodestar/releases/tag/v0.36.0 Release Notes, Third Party Advisory Changed Reference Type https://github.com/ChainSafe/lodestar/security/advisories/GHSA-cvj7-5f3c-9vg9 No Types Assigned https://github.com/ChainSafe/lodestar/security/advisories/GHSA-cvj7-5f3c-9vg9 Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:chainsafe:lodestar:*:*:*:*:*:*:*:* versions up to (excluding) 0.36.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29219
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-29219
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.07 }} 0.00%
score
0.29765
percentile