You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_queueIndex is never emptied, so it can become quite large thus type-casting it to uint64 can lead to overflow
Summary
typecasting of _queueIndex variable in QueueTransaction event in the L1MessageQueueWithGasPriceOracle.sol file can lead to overflow of the value thus leading to invalid queue data
QueueTransaction event has typecasting of uint256 to uint64 which can lead to overflow of the index values thus leading to invalid queue data for the Sequencer
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
Invalid queue value can lead to invalid sequencer functioning thus leading to failure in bridging of the values and stuck of funds
PoC
No response
Mitigation
Do not typecast to uint64
The text was updated successfully, but these errors were encountered:
sherlock-admin3
changed the title
Teeny Pastel Sawfish - _queueIndex is never emptied, so it can become quite large thus type-casting it to uint64 can lead to overflow
Satanic_angel - _queueIndex is never emptied, so it can become quite large thus type-casting it to uint64 can lead to overflow
Oct 16, 2024
Satanic_angel
Medium
_queueIndex is never emptied, so it can become quite large thus type-casting it to uint64 can lead to overflow
Summary
typecasting of
_queueIndex
variable inQueueTransaction
event in theL1MessageQueueWithGasPriceOracle.sol
file can lead to overflow of the value thus leading to invalid queue dataRoot Cause
QueueTransaction
event has typecasting ofuint256
touint64
which can lead to overflow of the index values thus leading to invalid queue data for the SequencerInternal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
Invalid queue value can lead to invalid sequencer functioning thus leading to failure in bridging of the values and stuck of funds
PoC
No response
Mitigation
Do not typecast to uint64
The text was updated successfully, but these errors were encountered: