Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H-07 MitigationConfirmed #43

Open
c4-bot-4 opened this issue Jun 7, 2024 · 1 comment
Open

H-07 MitigationConfirmed #43

c4-bot-4 opened this issue Jun 7, 2024 · 1 comment
Labels
mitigation-confirmed MR-H-07 satisfactory satisfies C4 submission criteria; eligible for awards

Comments

@c4-bot-4
Copy link
Contributor

c4-bot-4 commented Jun 7, 2024

Lines of code

Vulnerability details

Original Issue Summary

OperatorDelegator.completeQueuedWithdrawal can not be succesfully completed when the ERC20 buffer is filled due to an incorrect modifier used. This prevents the protocol and users from getting their funds from EigenLayer, resulting in loss of funds.

Mitigation

This mitigation proposed the removal of the onlyRestakeManager modifier.

-    function fillERC20withdrawBuffer(
-        address _asset,
-        uint256 _amount
-    ) external nonReentrant onlyRestakeManager {
+    function fillERC20withdrawBuffer(address _asset, uint256 _amount) external nonReentrant {

Comments

This mitigation succesfully mitigates the original issue. Due to the removal of the onlyRestakeManager modifier, fillERC20withdrawBuffer() can be succesfully called. This allows users to succesfully withdraw their funds from EigenLayer.

Suggestion

n/a

Conclusion

LGTM

c4-bot-9 added a commit that referenced this issue Jun 7, 2024
@c4-judge c4-judge added the satisfactory satisfies C4 submission criteria; eligible for awards label Jun 8, 2024
@c4-judge
Copy link

c4-judge commented Jun 8, 2024

alcueca marked the issue as satisfactory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mitigation-confirmed MR-H-07 satisfactory satisfies C4 submission criteria; eligible for awards
Projects
None yet
Development

No branches or pull requests

2 participants