Re-entrancy Guard Is Not Initialized #13
Labels
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
duplicate
This issue or pull request already exists
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-03-prepo/blob/main/contracts/core/PrePOMarketFactory.sol#L15
Vulnerability details
Impact
During the manual code review, It has been observed that re-entrancy guard (ReentrancyGuardUpgradeable) contract is not initialized. The contract should be initialized in the initialize function.
Proof of Concept
https://github.com/code-423n4/2022-03-prepo/blob/main/contracts/core/PrePOMarketFactory.sol#L15
Tools Used
Code Review
Recommended Mitigation Steps
Consider initializing function in the related section.
The text was updated successfully, but these errors were encountered: