A DeFi lending protocol uses the spot price from a single, low-liquidity decentralized exchange (DEX) to value collateral. An attacker secures a large flash loan, uses it to artificially inflate an asset's price on that specific DEX, and then deposits the inflated asset as collateral to borrow a much larger sum of other assets. What is the primary vulnerability exploited in this scenario?
-
A
A) A denial-of-service vulnerability in the deposit function.
-
B
B) An integer overflow during the collateral calculation.
-
C
C) Use of a single, easily manipulated spot-price oracle.
-
D
D) A reentrancy attack on the borrowing function.