-
Notifications
You must be signed in to change notification settings - Fork 3
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
The setCollectionPhases function did not check the size of allowlistStartTime and allowlistEndTime. #646
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-588
edited-by-warden
grade-c
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Comments
c4-submissions
added
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
labels
Nov 9, 2023
code4rena-admin
changed the title
"The setCollectionPhases function did not check the size of allowlistStartTime and allowlistEndTime."
The setCollectionPhases function did not check the size of allowlistStartTime and allowlistEndTime.
Nov 9, 2023
141345 marked the issue as duplicate of #1274 |
141345 marked the issue as not a duplicate |
141345 marked the issue as duplicate of #478 |
alex-ppg marked the issue as not a duplicate |
alex-ppg marked the issue as duplicate of #2033 |
c4-judge
added
duplicate-588
downgraded by judge
Judge downgraded the risk level of this issue
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
and removed
duplicate-2033
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
labels
Dec 4, 2023
alex-ppg changed the severity to QA (Quality Assurance) |
c4-judge
added
grade-c
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
labels
Dec 8, 2023
alex-ppg marked the issue as grade-c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-588
edited-by-warden
grade-c
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Lines of code
https://github.com/code-423n4/2023-10-nextgen/blob/8b518196629faa37eae39736837b24926fd3c07c/smart-contracts/MinterContract.sol#L170-L177
Vulnerability details
Impact
allowlistEndTime should be greater than allowlistStartTime, and publicEndTime should be greater than publicStartTime.Otherwise, an error will occur.
Proof of Concept
https://github.com/code-423n4/2023-10-nextgen/blob/8b518196629faa37eae39736837b24926fd3c07c/smart-contracts/MinterContract.sol#L170-L177
Tools Used
Recommended Mitigation Steps
add check
Assessed type
Context
The text was updated successfully, but these errors were encountered: