# GO-2024-3068: Missing check for the height of cryptographic equivocation evidence in github.com/cosmos/gaia

> Attackers can bypass equivocation evidence height checks in Cosmos Gaia, potentially undermining consensus security mechanisms.

- **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:** 19 Aug 2024
- **Also known as:** GHSA-83qr-9v2h-qxp4

## What is GO-2024-3068?

GO-2024-3068 is a vulnerability in github.com/cosmos/gaia/v14, published on 19 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Missing check for the height of cryptographic equivocation evidence in github.com/cosmos/gaia

## Which versions are affected by GO-2024-3068?

4 open source packages ship an affected version, including github.com/cosmos/gaia/v14, github.com/cosmos/gaia/v15 and github.com/cosmos/gaia/v16.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/cosmos/gaia/v14` | Go | From 14.2.0 | None |
| `github.com/cosmos/gaia/v15` | Go | All versions | None |
| `github.com/cosmos/gaia/v16` | Go | All versions | None |
| `github.com/cosmos/gaia/v17` | Go | All versions | 17.3.0 |

## How do I fix GO-2024-3068?

Upgrade to a fixed version.

## Is GO-2024-3068 being exploited?

There is no known exploitation of GO-2024-3068 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GO-2024-3068 and fix it if it is affected.

What it is: GO-2024-3068 is a vulnerability in github.com/cosmos/gaia/v14, published on 19 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GO-2024-3068 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/cosmos/gaia/v14 (Go): affected from 14.2.0; no fix listed
- github.com/cosmos/gaia/v15 (Go): affected all versions; no fix listed
- github.com/cosmos/gaia/v16 (Go): affected all versions; no fix listed
- github.com/cosmos/gaia/v17 (Go): affected all versions; fixed in 17.3.0

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/GO-2024-3068/ (Markdown: https://insights.sbomify.com/GO-2024-3068/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GO-2024-3068

---
From sbomify Insights: https://insights.sbomify.com/GO-2024-3068/
Summaries are generated and may contain mistakes; the official description above is the record.
