#46119 [SC-Low] Incorrect `msg.Value` check in `CoreVault` Transfer
Description
Brief/Intro
Vulnerability Details
if (msg.value > transferFeeWei + Transfers.TRANSFER_GAS_ALLOWANCE) {
Transfers.transferNAT(state.nativeAddress, transferFeeWei);
Transfers.transferNATAllowFailure(payable(msg.sender), msg.value - transferFeeWei);
}Impact Details
References
Recommendations
Proof of Concept
Proof of Concept
Previous#46121 [SC-High] Malicious agent can manipulate the totalCollateral to cause damage to the protocolNext#46122 [SC-Insight] Incorrect Minimum Lots Validation in CoreVault Redemption
Was this helpful?