Advisories for Golang/Github.com/Cosmos/Ibc-Go/V8 package

2024

ibc-go: Potential Reentrancy using Timeout Callbacks in ibc-hooks

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 …