# GHSA-h2rp-8vpx-q9r4: cheqd-node Security patch for upstream vulnerabilities in IBC-Go (ISA-2025-001) and Cosmos SDK (ISA-2025-002)

> Attackers can halt the blockchain network by exploiting non-deterministic JSON unmarshalling and error handling flaws in IBC-Go and Cosmos SDK dependencies.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 13 Mar 2025
- **Also known as:** GO-2025-3520

## What is GHSA-h2rp-8vpx-q9r4?

GHSA-h2rp-8vpx-q9r4 is a denial of service vulnerability in github.com/cheqd/cheqd-node, published on 13 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

# Description

There have been two upstream security advisories and associated patches published under [ISA-2025-001](https://github.com/cosmos/ibc-go/security/advisories/GHSA-4wf3-5qj9-368v) and [ISA-2025-002](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-47ww-ff84-4jrg).

**[ISA-2025-001](https://github.com/cosmos/ibc-go/security/advisories/GHSA-4wf3-5qj9-368v)** affects the IBC-Go package., where non-deterministic JSON unmarshalling of IBC Acknowledgements can result in a chain halt. 

**[ISA-2025-002](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-47ww-ff84-4jrg)** affects the Cosmos SDK package, where `x/group` can halt when erroring in `EndBlocker`.

### Impact
If unaddressed, this could result in a chain halt.

### Patches
Validators, full nodes, and IBC relayers should upgrade to [cheqd-node v3.1.8](https://github.com/cheqd/cheqd-node/releases/tag/v3.1.8). This upgrade does not require a software upgrade proposal on-chain and is meant to be non state-breaking.

## Which versions are affected by GHSA-h2rp-8vpx-q9r4?

3 open source packages ship an affected version, including github.com/cheqd/cheqd-node.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/cheqd/cheqd-node` | Go | All versions | None |
| `github.com/cheqd/cheqd-node` | Go | All versions | 3.1.8 |
| `github.com/cheqd/cheqd-node` | Go | All versions | 3.1.8 |

## How do I fix GHSA-h2rp-8vpx-q9r4?

Upgrade github.com/cheqd/cheqd-node to 3.1.8 or later.

## Is GHSA-h2rp-8vpx-q9r4 being exploited?

There is no known exploitation of GHSA-h2rp-8vpx-q9r4 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-h2rp-8vpx-q9r4 and fix it if it is affected.

What it is: GHSA-h2rp-8vpx-q9r4 is a denial of service vulnerability in github.com/cheqd/cheqd-node, published on 13 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-h2rp-8vpx-q9r4 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/cheqd/cheqd-node (Go): affected all versions; no fix listed
- github.com/cheqd/cheqd-node (Go): affected all versions; fixed in 3.1.8
- github.com/cheqd/cheqd-node (Go): affected all versions; fixed in 3.1.8

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-h2rp-8vpx-q9r4/ (Markdown: https://insights.sbomify.com/GHSA-h2rp-8vpx-q9r4/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-h2rp-8vpx-q9r4

---
From sbomify Insights: https://insights.sbomify.com/GHSA-h2rp-8vpx-q9r4/
Summaries are generated and may contain mistakes; the official description above is the record.
