VDB
Sign up
HIGH

GHSA-w6rp-vxj2-fjhr

Cosmos packet-forward-middleware vulnerable to chain-halt

Quick fix

GHSA-w6rp-vxj2-fjhr — github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4: upgrade to the fixed version with the command below.

go get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4@v4.1.1

Details

The Cosmos SDK is used for Inter-Blockchain Communication Protocol (IBC) applications and middleware. The [packet-forward-middleware](https://github.com/cosmos/ibc-apps/tree/main/middleware/packet-forward-middleware) module is an IBC middleware module built for Cosmos blockchains utilizing the IBC protocol allowing routing of incoming IBC packets from a source chain to a destination chain. The `packet-forward-middleware` module is vulnerable to potential chain-halt due to error non-determinism.

### Patches Please patch at your earliest convenience by applying one of the following patch versions, respective to the chain's ibc-go major version: v4.1.1 v5.2.1 v6.1.1

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4
Introduced in: 0Fixed in: 4.1.1
Fixgo get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4@v4.1.1
Go/github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5
Introduced in: 0Fixed in: 5.2.1
Fixgo get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5@v5.2.1
Go/github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6
Introduced in: 0Fixed in: 6.1.1
Fixgo get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6@v6.1.1

References