Skip to content

Sherlock

Perennial V2 Update #2

Every publicly disclosed report for Perennial V2 Update #2 and what kind of bugs they were.

disclosed reports
13
most reported class
Business logic
bug classes found
2
first disclosure
2024
Find Perennial V2 Update #2 on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Perennial V2 Update #2 chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Requested oracle versions, which have expired, must return this oracle version as invalid, but they return it as a normal version with previous version's price instead Business logic High – – – 11 Apr 2024
ChainlinkFactory will pay non-requested versions keeper fees Business logic Medium – – – 11 Apr 2024
Vault checkpoints slightly incorrect conversion from assets to shares leads to slow loss of funds for long-time vault depositors Business logic Medium – – – 11 Apr 2024
Orders on Optimism chains can not be settled due to revert of ````keep()```` DoS Medium – – – 11 Apr 2024
When vault's market weight is set to 0 to remove the market from the vault, vault's leverage in this market is immediately set to max leverage risking position liquidation Business logic Medium – – – 11 Apr 2024
Vault global shares and assets change will mismatch local shares and assets change during settlement due to incorrect `_withoutSettlementFeeGlobal` formula Business logic High – – – 11 Apr 2024
Empty orders do not request from oracle and during settlement they use an invalid oracle version with `price=0` which messes up a lot of fees and funding accounting leading to loss of funds for the makers Business logic High – – – 11 Apr 2024
Makers can lose funds from price movement even when no long and short positions are opened, due to incorrect distribution of adiabatic fees exposure between makers Business logic Medium – – – 11 Apr 2024
_loadContext() uses the wrong pendingGlobal Business logic Medium – – – 11 Apr 2024
Vault and oracle keepers DoS in some situations due to `market.update(account,max,max,max,0,false)` DoS Medium – – – 11 Apr 2024
Liquidator can set up referrals for other users Business logic Medium – – – 11 Apr 2024
If referral or liquidator is the same address as the account, then liquidation/referral fees will be lost due to local storage being overwritten after the `claimable` amount is credited to liquidator or referral Business logic Medium – – – 11 Apr 2024
All transactions to claim assets from the vault will revert in some situations due to double subtraction of the claimed assets in market position allocations calculation Business logic Medium – – – 11 Apr 2024