# GHSA-6fgm-x6ff-w78f: Potential Denial-of-Service condition leading to temporary disability in IBC transfers to the native chain

> Attackers can cause a denial of service in IBC transfers to native chains using affected Packet Forward Middleware versions.

- **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:** 12 Feb 2025
- **Also known as:** GO-2025-3463

## What is GHSA-6fgm-x6ff-w78f?

GHSA-6fgm-x6ff-w78f is a denial of service vulnerability in github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4, published on 12 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

### Impact

Chains using affected versions of Packet Forward Middleware in their IBC Transfer stack are vulnerable to an attack in which there is a potential denial of service. This affects IBC transfers for any asset which is being transferred between another chain and its native chain.

We recommend upgrading as soon as possible.

__THIS IS A STATE BREAKING CHANGE__

### Patches
Versions [7.2.1](https://github.com/cosmos/ibc-apps/releases/tag/middleware%2Fpacket-forward-middleware%2Fv7.2.1) and [8.1.1](https://github.com/cosmos/ibc-apps/releases/tag/middleware%2Fpacket-forward-middleware%2Fv8.1.1) are patched.

### Workarounds
N/A

### References
N/A

## Which versions are affected by GHSA-6fgm-x6ff-w78f?

15 open source packages ship an affected version, including github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4, github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5 and github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6` | Go | All versions | None |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7` | Go | All versions | 7.2.1 |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7` | Go | All versions | 7.2.1 |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7` | Go | All versions | 7.2.1 |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8` | Go | All versions | 8.1.1 |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8` | Go | All versions | 8.1.1 |
| `github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8` | Go | All versions | 8.1.1 |

## How do I fix GHSA-6fgm-x6ff-w78f?

Upgrade to a fixed version.

## Is GHSA-6fgm-x6ff-w78f being exploited?

There is no known exploitation of GHSA-6fgm-x6ff-w78f in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-6fgm-x6ff-w78f and fix it if it is affected.

What it is: GHSA-6fgm-x6ff-w78f is a denial of service vulnerability in github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4, published on 12 Feb 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-6fgm-x6ff-w78f in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6 (Go): affected all versions; no fix listed
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 (Go): affected all versions; fixed in 7.2.1
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 (Go): affected all versions; fixed in 7.2.1
- github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 (Go): affected all versions; fixed in 7.2.1

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-6fgm-x6ff-w78f/ (Markdown: https://insights.sbomify.com/GHSA-6fgm-x6ff-w78f/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-6fgm-x6ff-w78f

---
From sbomify Insights: https://insights.sbomify.com/GHSA-6fgm-x6ff-w78f/
Summaries are generated and may contain mistakes; the official description above is the record.
