mediumLogic errorEVM-Solidity
eBTC Protocol: When calling LeverageMacroBase.doOperation to open a CDP, the POST CALL CHECK may use the wrong cdpId
- Payout
- $0
- Protocol
- eBTC Protocol
- Disclosed
- Feb 13, 2024
- Source
- code4rena
eBTC's LeverageMacroBase.doOperation runs a POST CALL CHECK after opening a leveraged CDP that assumes the freshly created CDP is the last one in the owner's ownership list. The contract records the owner's current CDP count before opening and then does cdpOfO …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-10-badger-findings/issues/152
- https://github.com/code-423n4/2023-10-badger-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.