Sherlock
Union Finance
Every publicly disclosed report for Union Finance and what kind of bugs they were.
- disclosed reports
- 23
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Union Finance chose to make public.
-
Loan can be written off by anybody before overdue delay expires
Business logic High Audit finding
-
repayBorrow is inaccessible by overdue borrowers
Business logic High Audit finding +3 collaborators
-
Stakers will lose their rewards as updateLocked() updates only the first active vouches until there is a prepayment
Business logic High Audit finding
-
Stakers can have their funds locked for an extended period not related to the performance of their borrowers
Business logic Medium Audit finding
-
UNION rewards issuance can be maximized without providing credit
Business logic High Audit finding
-
A stake that has just been locked gets full reward multiplier
Business logic Medium Audit finding
-
`AssetManager.rebalance()` will revert when the balance of `tokenAddress` in the money market is 0
DoS Medium Audit finding +1 collaborator
-
Unsafe downcasting arithmetic operation in UserManager related contract and in UToken.sol
Smart contracts Medium Audit finding +2 collaborators
-
Partial withdrawals by AssetManager lead to user funds freeze
Business logic Medium Audit finding +1 collaborator
-
`AssetManager::withdraw` will not return false, when fail to send the withdraw amount
Business logic Medium Audit finding +4 collaborators
-
Maximal approvals remain for the AssetManager's adapters and tokens after removal
Access control Medium Audit finding +2 collaborators
-
`Comptroller::withdrawRewards` accounting error results in incorrect inflation index
Smart contracts Medium Audit finding +3 collaborators
-
Staker rewards can be gathered with maximal multiplier no matter how borrowers are overdue
Business logic High Audit finding +1 collaborator
-
It's impossible to writing off any vouch fully for an outside actor
Business logic Medium Audit finding +2 collaborators
-
getUserInfo() returns incorrect values for locked and stakedAmount
Business logic Medium Audit finding
-
Vouchers and vouchees indices become corrupted by UserManager's cancelVouch
Business logic Medium Audit finding +7 collaborators
-
repayBorrow calls wrong frozen info update for overdue repayments
Business logic High Audit finding
-
Priority withdrawal sequence array will grow infinitely over time
DoS Medium Audit finding +4 collaborators
-
updateTrust() vouchers also need check maxVouchers
DoS Medium Audit finding
-
gas limit DoS via unbounded operations
DoS Medium Audit finding +1 collaborator
-
Removed adapter can still hold funds, removed token can still be deposited to a market
Business logic Medium Audit finding +1 collaborator
-
Asset manager's deposit, withdraw and rebalance function calls will get reverted when one of the adapters is broken or paused
DoS Medium Audit finding +1 collaborator