漏洞标题
整数溢出在Lodestar中
漏洞描述信息
Lodestar中的整数溢出
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
漏洞类别
N/A
漏洞标题
Integer Overflow in Lodestar
漏洞描述信息
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信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
漏洞类别
整数溢出或超界折返
漏洞标题
Lodestar 输入验证错误漏洞
漏洞描述信息
Lodestar是一种以太坊共识的 TypeScript 实现。 Lodestar 0.36.0之前版本存在输入验证错误漏洞,该漏洞源于链上包含恶意制作的 AttesterSlashing 或 ProposerSlashing ,可能存在共识分裂。
CVSS信息
N/A
漏洞类别
输入验证错误