The price oracle in PriceOracle.sol in Compound Finance Compound Price Oracle 1.0 through 2.0 allows a price poster to set an invalid asset price via the setPrice function, and consequently violate the intended limits on price swings.
CPE | Name | Operator | Version |
---|---|---|---|
price_oracle | ge | 1.0 | |
price_oracle | le | 2.0 |