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
{{ message }}
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelMediumA Medium severity issue.RewardA payout will be made for this issue
The limitation of bribing for the pool leads to denial of service condition
Summary
The limit of five bribers per pool can cause a denial of service, preventing legitimate bribers from providing rewards if periods are already saturated by other bribers.
Vulnerability Detail
The limitation of bribing for the pool to a maximum of five bribers leads to a denial of service condition. Legitimate bribers who wish to provide rewards might be prevented from doing so if the given periods are saturated by other bribers.
Issue Scenario:
Five bribers provide rewards for period 5.
A new briber wants to start providing bribes for periods 1-20.
The briber cannot do this because the logic will iterate over all periods and revert at period 5 since it is already saturated.
Impact
A legitimate briber cannot provide bribes in the form of rewards for the specified periods.
sherlock-admin4
changed the title
Blunt Carmine Camel - The limitation of bribing for the pool leads to denial of service condition
web3pwn - The limitation of bribing for the pool leads to denial of service condition
Jul 29, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelMediumA Medium severity issue.RewardA payout will be made for this issue
web3pwn
Medium
The limitation of bribing for the pool leads to denial of service condition
Summary
The limit of five bribers per pool can cause a denial of service, preventing legitimate bribers from providing rewards if periods are already saturated by other bribers.
Vulnerability Detail
The limitation of bribing for the pool to a maximum of five bribers leads to a denial of service condition. Legitimate bribers who wish to provide rewards might be prevented from doing so if the given periods are saturated by other bribers.
Issue Scenario:
Impact
A legitimate briber cannot provide bribes in the form of rewards for the specified periods.
Code Snippet
Tool used
Manual Review
Recommendation
It is recommended to redesign the logic so that bribers can add bribe rewards without being affected by other bribers.
Duplicate of #190
The text was updated successfully, but these errors were encountered: