GHSA-w6rp-vxj2-fjhr: Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4 Cosmos Packet-forward-middleware Vulnerable To Chain-halt Vulnerability
HIGHGHSA-w6rp-vxj2-fjhr is a HIGH cosmos packet-forward-middleware vulnerable to chain-halt vulnerability (General Security Weakness) affecting Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4 libraries in the Go ecosystem. The issue involves cosmos packet-forward-middleware vulnerable to chain-halt. Remediation is available by upgrading affected packages to version 4.1.1, 5.2.1, 6.1.1.
GHSA-w6rp-vxj2-fjhr at a Glance
How to Fix GHSA-w6rp-vxj2-fjhr
To remediate this vulnerability, upgrade all affected Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 to 4.1.1
Upgrade github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5 to 5.2.1
Upgrade github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6 to 6.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4
How to Check if You Are Affected
To determine whether your application is affected by GHSA-w6rp-vxj2-fjhr, inspect your project dependencies for Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4:
inspect dependencies for github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4
Analyze the terminal output to locate any version of Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-w6rp-vxj2-fjhr Affected Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4 Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4
|
Go |
< 4.1.1
|
4.1.1
|
|
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5
|
Go |
< 5.2.1
|
5.2.1
|
|
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6
|
Go |
< 6.1.1
|
6.1.1
|
References
Frequently Asked Questions
What is GHSA-w6rp-vxj2-fjhr?
Which Github.com/cosmos/ibc apps/middleware/packet forward middleware/v4 versions are affected?
What version fixes GHSA-w6rp-vxj2-fjhr?
Is github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 affected?
Is github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5 affected?
What CWE is associated with GHSA-w6rp-vxj2-fjhr?
How can I check Go dependencies for GHSA-w6rp-vxj2-fjhr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w6rp-vxj2-fjhr",
"modified" : "2023-10-26T23:10:19Z",
"published" : "2023-10-26T23:10:19Z",
"aliases" : [ ],
"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](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.\n\n### Patches\nPlease patch at your earliest convenience by applying one of the following patch versions, respective to the chain's ibc-go major version:\nv4.1.1\nv5.2.1\nv6.1.1",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cosmos/ibc-apps/security/advisories/GHSA-w6rp-vxj2-fjhr"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cosmos/ibc-apps"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-26T23:10:19Z",
"nvd_published_at" : null
}
}