Submitted by 0x1f8b, also found by oyc_109
https://github.com/Plex-Engineer/lending-market-v2/blob/2646a7676b721db8a7754bf5503dcd712eab2f8a/contracts/NoteInterest.sol#L99
The initialize method of the contract NoteInterest can be initialized multiple times.
The method initialize of the contract NoteInterest looks like this:
Nothing prevents it from being initialized again and altering the initial values of the contract. This allows the government, unnecessarily, to be able to perform attacks such as altering the logic of the updateBaseRate method.
Add a require to check that was not already initialized.
nivasan1 (Canto) disputed and commented:
Alex the Entreprenerd (judge) commented:
