GHSA-qjcv-rx3v-7mvj: Github.com/cosmos/ibc go/v7 Github.com/cosmos/ibc-go Affected By IBC Protocol Vulnerability

MODERATE
Published
Advisory Summary

GHSA-qjcv-rx3v-7mvj is a MODERATE github.com/cosmos/ibc-go affected by ibc protocol vulnerability (General Security Weakness) affecting Github.com/cosmos/ibc go/v7 libraries in the Go ecosystem. The issue involves github.com/cosmos/ibc-go affected by ibc protocol "huckleberry" vulnerability. Remediation is available by upgrading affected packages to version 7.0.1, 6.1.1, 5.2.1, 5.3.1, 4.1.3, 4.2.2, 4.3.1, 4.4.1.

GHSA-qjcv-rx3v-7mvj at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qjcv-rx3v-7mvj
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/cosmos/ibc go/v7
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-qjcv-rx3v-7mvj

To remediate this vulnerability, upgrade all affected Github.com/cosmos/ibc go/v7 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/cosmos/ibc-go/v7 fixed: 7.0.1
Upgrade github.com/cosmos/ibc-go/v7 to 7.0.1
github.com/cosmos/ibc-go/v6 fixed: 6.1.1
Upgrade github.com/cosmos/ibc-go/v6 to 6.1.1
github.com/cosmos/ibc-go/v5 fixed: 5.2.1
Upgrade github.com/cosmos/ibc-go/v5 to 5.2.1
github.com/cosmos/ibc-go/v5 fixed: 5.3.1
Upgrade github.com/cosmos/ibc-go/v5 to 5.3.1
github.com/cosmos/ibc-go/v4 fixed: 4.1.3
Upgrade github.com/cosmos/ibc-go/v4 to 4.1.3
github.com/cosmos/ibc-go/v4 fixed: 4.2.2
Upgrade github.com/cosmos/ibc-go/v4 to 4.2.2
github.com/cosmos/ibc-go/v4 fixed: 4.3.1
Upgrade github.com/cosmos/ibc-go/v4 to 4.3.1
github.com/cosmos/ibc-go/v4 fixed: 4.4.1
Upgrade github.com/cosmos/ibc-go/v4 to 4.4.1
github.com/cosmos/ibc-go/v3 fixed: Latest secure release
Upgrade github.com/cosmos/ibc-go/v3 to Latest secure release
github.com/cosmos/ibc-go/v2 fixed: Latest secure release
Upgrade github.com/cosmos/ibc-go/v2 to Latest secure release
github.com/cosmos/ibc-go fixed: Latest secure release
Upgrade github.com/cosmos/ibc-go to Latest secure release
Verify Direct and Transitive Dependencies

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-go/v7

How to Check if You Are Affected

To determine whether your application is affected by GHSA-qjcv-rx3v-7mvj, inspect your project dependencies for Github.com/cosmos/ibc go/v7:

inspect dependencies for github.com/cosmos/ibc-go/v7

Analyze the terminal output to locate any version of Github.com/cosmos/ibc go/v7 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.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 go/v7, 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

The ibc-go module is affected by the Inter-Blockchain Communication (IBC) protocol "Huckleberry" vulnerability.

GHSA-qjcv-rx3v-7mvj Affected Github.com/cosmos/ibc go/v7 Versions

11 component(s)
Fixed Versions:
7.0.16.1.15.2.15.3.14.1.34.2.24.3.14.4.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/cosmos/ibc-go/v7
Go
< 7.0.1
7.0.1
github.com/cosmos/ibc-go/v6
Go
< 6.1.1
6.1.1
github.com/cosmos/ibc-go/v5
Go
< 5.2.1
5.2.1
github.com/cosmos/ibc-go/v5
Go
≥ 5.3.0
< 5.3.1
5.3.1
github.com/cosmos/ibc-go/v4
Go
< 4.1.3
4.1.3
github.com/cosmos/ibc-go/v4
Go
≥ 4.2.0
< 4.2.2
4.2.2
github.com/cosmos/ibc-go/v4
Go
≥ 4.3.0
< 4.3.1
4.3.1
github.com/cosmos/ibc-go/v4
Go
≥ 4.4.0
< 4.4.1
4.4.1
github.com/cosmos/ibc-go/v3
Go
≤ 3.4.0
github.com/cosmos/ibc-go/v2
Go
≤ 2.5.0
github.com/cosmos/ibc-go
Go
≤ 1.5.0

References

Frequently Asked Questions

What is GHSA-qjcv-rx3v-7mvj?
GHSA-qjcv-rx3v-7mvj is a security vulnerability in Github.com/cosmos/ibc go/v7 involving github.com/cosmos/ibc-go affected by IBC protocol "Huckleberry" vulnerability under General Security Weakness.
Which Github.com/cosmos/ibc go/v7 versions are affected?
Affected versions include releases prior to 7.0.1, 6.1.1, 5.2.1, 5.3.1, 4.1.3, 4.2.2, 4.3.1, 4.4.1 across affected packages: github.com/cosmos/ibc-go/v7, github.com/cosmos/ibc-go/v6, github.com/cosmos/ibc-go/v5, github.com/cosmos/ibc-go/v4, github.com/cosmos/ibc-go/v3, github.com/cosmos/ibc-go/v2, github.com/cosmos/ibc-go.
What version fixes GHSA-qjcv-rx3v-7mvj?
Upgrading to 7.0.1, 6.1.1, 5.2.1, 5.3.1, 4.1.3, 4.2.2, 4.3.1, 4.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/cosmos/ibc-go/v7 affected?
Yes, github.com/cosmos/ibc-go/v7 is affected in releases prior to 7.0.1. Upgrade your dependency to 7.0.1 or later.
Is github.com/cosmos/ibc-go/v6 affected?
Yes, github.com/cosmos/ibc-go/v6 is affected in releases prior to 6.1.1. Upgrade your dependency to 6.1.1 or later.
What CWE is associated with GHSA-qjcv-rx3v-7mvj?
GHSA-qjcv-rx3v-7mvj is classified under General Security Weakness.
How can I check Go dependencies for GHSA-qjcv-rx3v-7mvj?
Run the dependency tree command: 'inspect dependencies for github.com/cosmos/ibc-go/v7'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qjcv-rx3v-7mvj",
  "modified" : "2024-05-23T16:07:38Z",
  "published" : "2024-05-20T21:51:33Z",
  "aliases" : [ ],
  "summary" : "github.com/cosmos/ibc-go affected by IBC protocol \"Huckleberry\" vulnerability",
  "details" : "The ibc-go module is affected by the Inter-Blockchain Communication (IBC) protocol \"Huckleberry\" vulnerability.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v7"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v6"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.3.0"
      }, {
        "fixed" : "5.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.1.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.4.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/ibc-go"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cosmos/ibc-go/issues/1532"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cosmos/ibc-go/commit/c77f80f812940fe3b93980d13a5cdd6980e907cc"
  }, {
    "type" : "WEB",
    "url" : "https://forum.cosmos.network/t/ibc-security-advisory-huckleberry/10731"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cosmos/ibc-go"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cosmos/ibc-go/releases/tag/v6.1.1"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2023-1860"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-20T21:51:33Z",
    "nvd_published_at" : null
  }
}