Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/09/27 12:0 a.m.15 views

cvxPerVotium() calculation will return zero if all CVX tokens are pending withdrawal as obligations

Lines of code Vulnerability details Summary The implementation of cvxPerVotium contains an edge case that causes it to return an invalid zero value price. Impact The cvxPerVotium function present in the VotingStrategy contract is used to measure the number of held CVX tokens per vAfEth. 144:...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/09/27 12:0 a.m.9 views

Sole depositor in the VotiumStrategy contract can inflate cvxPerVotium() to steal subsequent deposits

Lines of code Vulnerability details Bug Description In VotiumStrategyCore.sol, the cvxInSystem function returns the total amount of CVX in the protocol: VotiumStrategyCore.solL133-L138 function cvxInSystem public view returns uint256 uint256 total, , , = ILockedCvxVLCVXADDRESS.lockedBalances...

6.9AI score
SaveExploits0
Rows per page
Query Builder