In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/cosmos/ibc-go/v8/modules/core/keeper
to version 8.2.0 or higher.
Affected versions of this package are vulnerable to Incorrect Access Control through the deployment and subsequent use of a malicious CosmWasm contract via IBC interactions. An attacker could potentially execute the same MsgTimeout
inside the IBC hook for the OnTimeout
callback before the packet commitment is deleted. On chains where ibc-hooks wraps ICS-20, this vulnerability may allow for the logic of the OnTimeout
callback of the transfer application to be recursively executed, leading to a condition that may present the opportunity for the loss of funds from the escrow account or unexpected minting of tokens. This is only exploitable if the chain is IBC-enabled and uses a vulnerable version of ibc-go, the chain is CosmWasm-enabled and allows code uploads for wasm contracts by anyone, or by authorized parties (to a lesser extent), and the chain utilizes the ibc-hooks middleware and wraps ICS-20 transfer application.