# GO-2023-1860: IBC protocol "Huckleberry" vulnerability in github.com/cosmos/ibc-go

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2023-06-15T20:52:26.000Z
- **Modified:** 2024-05-20T16:03:47.000Z

## Who should check

- Projects that depend on Go package github.com/cosmos/ibc-go/v7 (\< 7.0.1)
- Projects that depend on Go package github.com/cosmos/ibc-go/v6 (\< 6.1.1)
- Projects that depend on Go package github.com/cosmos/ibc-go/v5 (\< 5.2.1; \>= 5.3.0, \< 5.3.1)
- Projects that depend on Go package github.com/cosmos/ibc-go/v4 (\< 4.1.3; \>= 4.2.0, \< 4.2.2; \>= 4.3.0, \< 4.3.1; \>= 4.4.0, \< 4.4.1)

## Description

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

## Affected and fixed versions

- Go `github.com/cosmos/ibc-go/v7`: affected \< 7.0.1; fixed 7.0.1 (osv)
- Go `github.com/cosmos/ibc-go/v6`: affected \< 6.1.1; fixed 6.1.1 (osv)
- Go `github.com/cosmos/ibc-go/v5`: affected \< 5.2.1; \>= 5.3.0, \< 5.3.1; fixed 5.2.1, 5.3.1 (osv)
- Go `github.com/cosmos/ibc-go/v4`: affected \< 4.1.3; \>= 4.2.0, \< 4.2.2; \>= 4.3.0, \< 4.3.1; \>= 4.4.0, \< 4.4.1; fixed 4.1.3, 4.2.2, 4.3.1, 4.4.1 (osv)

## Mitigation

- Upgrade github.com/cosmos/ibc-go/v7 to 7.0.1 or later.
- Upgrade github.com/cosmos/ibc-go/v6 to 6.1.1 or later.
- Upgrade github.com/cosmos/ibc-go/v5 to one of 5.2.1, 5.3.1 (or later in the same release line).
- Upgrade github.com/cosmos/ibc-go/v4 to one of 4.1.3, 4.2.2, 4.3.1, 4.4.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by GO-2023-1860. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/GO-2023-1860.md
Affected: github.com/cosmos/ibc-go/v7 < 7.0.1; github.com/cosmos/ibc-go/v6 < 6.1.1; github.com/cosmos/ibc-go/v5 < 5.2.1; >= 5.3.0, < 5.3.1; github.com/cosmos/ibc-go/v4 < 4.1.3; >= 4.2.0, < 4.2.2; >= 4.3.0, < 4.3.1; >= 4.4.0, < 4.4.1
Fixed in: 7.0.1, 6.1.1, 5.2.1, 5.3.1, 4.1.3, 4.2.2, 4.3.1, 4.4.1

Steps:
1. Search this machine and project for github.com/cosmos/ibc-go/v7 (Go), github.com/cosmos/ibc-go/v6 (Go), github.com/cosmos/ibc-go/v5 (Go), github.com/cosmos/ibc-go/v4 (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is GO-2023-1860 being exploited?

There is no confirmed exploitation: GO-2023-1860 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is GO-2023-1860?

It has no CVSS score yet. Unknown.

### Which versions are affected by GO-2023-1860?

github.com/cosmos/ibc-go/v7 \< 7.0.1; github.com/cosmos/ibc-go/v6 \< 6.1.1; github.com/cosmos/ibc-go/v5 \< 5.2.1; \>= 5.3.0, \< 5.3.1; github.com/cosmos/ibc-go/v4 \< 4.1.3; \>= 4.2.0, \< 4.2.2; \>= 4.3.0, \< 4.3.1; \>= 4.4.0, \< 4.4.1.

### Is there a fix for GO-2023-1860?

Yes. Fixed in 7.0.1, 6.1.1, 5.2.1, 5.3.1, 4.1.3, 4.2.2, 4.3.1, 4.4.1. Upgrade github.com/cosmos/ibc-go/v7 to 7.0.1 or later. Upgrade github.com/cosmos/ibc-go/v6 to 6.1.1 or later. Upgrade github.com/cosmos/ibc-go/v5 to one of 5.2.1, 5.3.1 (or later in the same release line). Upgrade github.com/cosmos/ibc-go/v4 to one of 4.1.3, 4.2.2, 4.3.1, 4.4.1 (or later in the same release line).

### How do I check if I'm affected by GO-2023-1860?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://forum.cosmos.network/t/ibc-security-advisory-huckleberry/10731>

## Attribution

- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-1860> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/GO-2023-1860> · JSON: <https://flawdb.com/api/v1/entries/GO-2023-1860>
