GHSA-j92c-mmf7-j5x5: Github.com/cheqd/cheqd node Potential Inter-blockchain Communication (IBC) Protocol Vulnerability

HIGH
Published
Advisory Summary

GHSA-j92c-mmf7-j5x5 is a HIGH potential inter-blockchain communication (ibc) protocol vulnerability (General Security Weakness) affecting Github.com/cheqd/cheqd node libraries in the Go ecosystem. The issue involves potential inter-blockchain communication (ibc) protocol compromise via "dragonberry" vulnerability in cheqd. Remediation is available by upgrading affected packages to version 0.6.9.

GHSA-j92c-mmf7-j5x5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j92c-mmf7-j5x5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/cheqd/cheqd node
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-j92c-mmf7-j5x5

To remediate this vulnerability, upgrade all affected Github.com/cheqd/cheqd node 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/cheqd/cheqd-node fixed: 0.6.9
Upgrade github.com/cheqd/cheqd-node to 0.6.9
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/cheqd/cheqd-node

How to Check if You Are Affected

To determine whether your application is affected by GHSA-j92c-mmf7-j5x5, inspect your project dependencies for Github.com/cheqd/cheqd node:

inspect dependencies for github.com/cheqd/cheqd-node

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

### Impact This vulnerability affects IBC transfers due to a security vulnerability dubbed "Dragonberry" upstream in [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.9). The vulnerability could allow malicious attackers to compromise chain-to-chain IBC transfers. There is no vulnerability in the DID/resource modules for cheqd-node. ### Patches Node operators are requested to upgrade to [cheqd-node v0.6.9](https://github.com/cheqd/cheqd-node/releases/tag/0.6.9) as soon as possible. Installation instructions are in the release notes. Please do not install any beta/pre-release versions. ### Workarounds No. The patch takes effect when more than 2/3rds of the voting power of the cheqd network has upgraded to this patch. An emergency hotfix was released previously under v0.6.8 but this is now deprecated since [Cosmos SDK v0.45.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.9) officially fixes this upstream. ### References - [IBC Security Advisory on "Dragonberry"](https://forum.cosmos.network/t/ibc-security-advisory-dragonberry/7702/1) (and [associated security vulnerability "Dragonfruit"](https://forum.cosmos.network/t/cosmos-sdk-security-advisory-dragonfruit/7614)) ### For more information If you have any questions or comments about this advisory: * Open an issue in [cheqd-node repo](https://github.com/cheqd/cheqd-node/issues) * Email us at [security-github@cheqd.io](mailto:security-github@cheqd.io) * Message us on our community [Slack](http://cheqd.link/join-cheqd-slack) or [Discord](http://cheqd.link/discord-github)

GHSA-j92c-mmf7-j5x5 Affected Github.com/cheqd/cheqd node Versions

1 component(s)
Fixed Versions:
0.6.9
Product / Package Ecosystem Affected Versions Fixed Version
github.com/cheqd/cheqd-node
Go
< 0.6.9
0.6.9

References

Frequently Asked Questions

What is GHSA-j92c-mmf7-j5x5?
GHSA-j92c-mmf7-j5x5 is a security vulnerability in Github.com/cheqd/cheqd node involving Potential inter-blockchain communication (IBC) protocol compromise via "Dragonberry" vulnerability in cheqd under General Security Weakness.
Which Github.com/cheqd/cheqd node versions are affected?
Affected versions include releases prior to 0.6.9 across affected packages: github.com/cheqd/cheqd-node.
What version fixes GHSA-j92c-mmf7-j5x5?
Upgrading to 0.6.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/cheqd/cheqd-node affected?
Yes, github.com/cheqd/cheqd-node is affected in releases prior to 0.6.9. Upgrade your dependency to 0.6.9 or later.
What CWE is associated with GHSA-j92c-mmf7-j5x5?
GHSA-j92c-mmf7-j5x5 is classified under General Security Weakness.
How can I check Go dependencies for GHSA-j92c-mmf7-j5x5?
Run the dependency tree command: 'inspect dependencies for github.com/cheqd/cheqd-node'. 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-j92c-mmf7-j5x5",
  "modified" : "2022-10-18T17:27:36Z",
  "published" : "2022-10-18T17:27:36Z",
  "aliases" : [ ],
  "summary" : "Potential inter-blockchain communication (IBC) protocol compromise via \"Dragonberry\" vulnerability in cheqd",
  "details" : "### Impact\nThis vulnerability affects IBC transfers due to a security vulnerability dubbed \"Dragonberry\" upstream in [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.9). The vulnerability could allow malicious attackers to compromise chain-to-chain IBC transfers.\n\nThere is no vulnerability in the DID/resource modules for cheqd-node.\n\n### Patches\nNode operators are requested to upgrade to [cheqd-node v0.6.9](https://github.com/cheqd/cheqd-node/releases/tag/0.6.9) as soon as possible. Installation instructions are in the release notes. Please do not install any beta/pre-release versions.\n\n### Workarounds\nNo. The patch takes effect when more than 2/3rds of the voting power of the cheqd network has upgraded to this patch.\n\nAn emergency hotfix was released previously under v0.6.8 but this is now deprecated since [Cosmos SDK v0.45.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.9) officially fixes this upstream.\n\n### References\n- [IBC Security Advisory on \"Dragonberry\"](https://forum.cosmos.network/t/ibc-security-advisory-dragonberry/7702/1) (and [associated security vulnerability \"Dragonfruit\"](https://forum.cosmos.network/t/cosmos-sdk-security-advisory-dragonfruit/7614))\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [cheqd-node repo](https://github.com/cheqd/cheqd-node/issues)\n* Email us at [security-github@cheqd.io](mailto:security-github@cheqd.io)\n* Message us on our community [Slack](http://cheqd.link/join-cheqd-slack) or [Discord](http://cheqd.link/discord-github)",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cheqd/cheqd-node"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cheqd/cheqd-node/security/advisories/GHSA-j92c-mmf7-j5x5"
  }, {
    "type" : "WEB",
    "url" : "https://forum.cosmos.network/t/ibc-security-advisory-dragonberry/7702/1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cheqd/cheqd-node"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.9"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-10-18T17:27:36Z",
    "nvd_published_at" : null
  }
}