The RAACPrimeRateOracle
contract does not validate the lastPrimeRate
value before updating it. This lack of validation allows for malicious or incorrect oracle responses, which could disrupt the Lending Pool by setting an invalid prime rate.
The function directly decodes and updates lastPrimeRate
without validating its value.
If the oracle sends a malicious response (e.g., 0
or an extremely large number), the Lending Pool will incorrectly adjust its rates.
Impact: This could lead to incorrect lending interest rates, unfair borrowing conditions, or even a denial of service if extreme values disrupt operations.
Impact
The absence of range validation for lastPrimeRate
can lead to severe disruptions in the lending ecosystem, exposing the Lending Pool to significant risks.
manual review
lastPrimeRate
before updating it.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.