UpdateWeightRunner.sol:setIntermediateValuesManually() function lacks of validation int256[] memory _newMovingAverages array.
In UpdateWeightRunner.sol:setIntermediateValuesManually() function poolManager or quantammAdmin can pass parameters with mismatched lengths for _newMovingAverages and _numberOfAssets without any validation:
Pool state might be updated incorrectly
Manual Review
Add this lines before rule.initialisePoolRuleIntermediateValues(_poolAddress, _newMovingAverages, _newParameters, _numberOfAssets);:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.