Skip to content
Business logic Audit finding Intermediate

[Perennial Self Report] Fix non-requested commits after oracle grace period

When a requested version was unavailable, non-requested versions were blocked from being committed until a new requested version was committed. This could prevent liquidations from occurring.

Protocol Team Follow

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2023-07-perennial-judging/issues/177

Found by

Protocol Team Medium

When a requested version was unavailable, non-requested versions would be blocked from being to be committed until a new requested version was committed. This could prevent liquidations from occurring.

https://github.com/equilibria-xyz/perennial-v2/pull/58

Discussion

hrishibhat

This issue is not included in the contest pool rewards

arjun-io

Fixed: https://github.com/equilibria-xyz/perennial-v2/pull/58

The original report as published on Sherlock, by Protocol Team. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

This could prevent liquidations from occurring.

What the attacker needed

Requested version unavailable

The fix

It was fixed by a pull request.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a smart contract bug where the system would not allow certain updates (commits) if a specific version was missing. This could stop important actions like liquidations from happening.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Protocol Team

View all

8 more disclosed reports, best first.

More from Perennial V2 Update #1

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.