Advisory

GHSA-w6rp-vxj2-fjhr

Also known as: GO-2023-2156

Summary

Cosmos packet-forward-middleware vulnerable to chain-halt

Details

The Cosmos SDK is used for Inter-Blockchain Communication Protocol (IBC) applications and middleware. The 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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-26 23:10 UTC
Modified
2024-08-21 14:57 UTC

Affected packages and fixes

github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4

Go · All systems

Affected

  • introduced 0, fixed 4.1.1 (semver)

Fixed versions

4.1.1

Fix

  • Fixed version 4.1.1
    go get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/[email protected]

github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5

Go · All systems

Affected

  • introduced 0, fixed 5.2.1 (semver)

Fixed versions

5.2.1

Fix

  • Fixed version 5.2.1
    go get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/[email protected]

github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6

Go · All systems

Affected

  • introduced 0, fixed 6.1.1 (semver)

Fixed versions

6.1.1

Fix

  • Fixed version 6.1.1
    go get github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences