Code4rena
zkSync Era
Every publicly disclosed report for zkSync Era and what kind of bugs they were.
- disclosed reports
- 42
- most reported class
- Business logic
- bug classes found
- 6
- first disclosure
- 2023
Disclosed reports
Newest first. Only what zkSync Era chose to make public.
-
L2SharedBridge l1LegacyBridge is not set
Business logic Medium Audit finding +1 collaborator
-
paymaster will refund spentOnPubdata to user
Business logic High Audit finding
-
Freezed Chain will never be unfreeze since StateTransitionManager::unfreezeChain is calling freezeDiamond instead of unfreezeDiamond
Business logic Medium Audit finding +12 collaborators
-
State transition manager is unable to force upgrade a deployed ST, which invalidates the designed safeguard for ‘urgent high risk situation’
Access control Medium Audit finding
-
User might be able to double withdraw during migration
Business logic Medium Audit finding
-
Missing range constraint on remainder check in div opcode implementation
Crypto High Audit finding
-
Lack of access to ETH on L2 through L1->L2 transactions
Business logic Medium Audit finding
-
Wrong encoding of the data in the sendCompressedBytecode function
Smart contracts Medium Audit finding
-
EIP-155 is not enforced, allowing attackers/malicious operators to profit from replaying transactions
Smart contracts Medium Audit finding +2 collaborators
-
Incorrect max precompile address
Business logic Medium Audit finding +12 collaborators
-
Loss of funds for the sender when L1->L2 TX fails in the bootloader on L2
Business logic Medium Audit finding +2 collaborators
-
TransactionValidator checks intrinsic costs against wrong value
Business logic Medium Audit finding +4 collaborators
-
Missing constraint on remainder in shr opcode implementation
Crypto High Audit finding +2 collaborators
-
Attacker can forge arbitrary read value from memory in case skip_if_legitimate_fat_ptr
Memory corruption High Audit finding
-
Reduction gate in binop operation is unsafe
Crypto High Audit finding
-
Attacker can manipulate the sorted queue in log sorter to emit reverted logs and events
Business logic High Audit finding
-
Unit difference between transaction encoding and bootloader memory constant
Business logic Medium Audit finding
-
Burning of the user gas in the sendCompressedBytecode function
DoS Medium Audit finding
-
Nonce ordering of EOA can be updated to “arbitrary” through an L1 tx
Access control Medium Audit finding
-
Operator can steal all gas provided by ANY user for L1→L2 transactions
Business logic Medium Audit finding +2 collaborators
-
Deployment Nonce Does not Increment For a Reverted Child Contract
Smart contracts Medium Audit finding
-
Mul/div relation should not be enforced when divisor is zero
DoS High Audit finding
-
Timestamp Constraints Leading to Number of Blocks Creation Limitations
Business logic Medium Audit finding
-
M-23 The owner is a single point of failure and a centralization risk
Access control Medium Audit finding
-
Potential Gas Manipulation via Bytecode Compression
Business logic Medium Audit finding +3 collaborators
-
Nonce Behavior Discrepancy Between zkSync Era and EIP-161
Business logic Medium Audit finding
-
Divergences in the Simulation of the extcodehash EVM Opcode
Smart contracts Medium Audit finding +4 collaborators
-
Discrepancy in Default Account Behavior
Business logic Medium Audit finding +1 collaborator
-
Discrepancy in ECRECOVER Precompile when Using Delegatecall
Smart contracts Medium Audit finding +2 collaborators
-
Synchronization Issue Between L1 and L2 Upgrades
Business logic Medium Audit finding +3 collaborators