CVE-2021-25834: Authentication bypass by capture-replay in github.com/cosmos/ethermint

github.com/cosmos/ethermint Updated 02 Oct 2025

Summary

21/08/2024
Yes i
High
7.5

CVE-2021-25834: Authentication bypass by capture-replay in github.com/cosmos/ethermint. Affects github.com/cosmos/ethermint versions < 0.4.1. Fixed in 0.4.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The github.com/cosmos/ethermint package is a Go package that provides functionality for Ethermint, a scalable and interoperable Ethereum implementation built on the Cosmos SDK. Ethermint enables developers to build decentralized applications (dApps) on top of the Cosmos network. It includes features such as smart contracts, token issuance, and transaction processing.

Vulnerability Detail

This vulnerability in github.com/cosmos/ethermint allows for authentication bypass through a capture-replay attack. An attacker can intercept and replay authentication credentials, gaining unauthorized access to the system. This can lead to various security risks, including unauthorized data access, privilege escalation, and potential manipulation of the blockchain network.

How To Fix

Latest published version: v0.4.1 as of 23 Oct 2026

go get github.com/cosmos/ethermint@v0.4.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.4.1

This is the first release that contains the fix.

go get github.com/cosmos/ethermint@v0.4.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed version of github.com/cosmos/ethermint to mitigate the risk of authentication bypass.

Conclusion

The authentication bypass vulnerability in github.com/cosmos/ethermint can be mitigated by updating to version 0.4.1 or later. It is crucial to promptly apply this fix to prevent unauthorized access and potential manipulation of the blockchain network.

See every vulnerability recorded for github.com/cosmos/ethermint →

Share this vulnerability

FAQ

github.com/cosmos/ethermint is a Go package that provides an Ethereum implementation on the Cosmos network, allowing developers to build decentralized applications.

This vulnerability allows for authentication bypass, potentially leading to unauthorized access, data breaches, and manipulation of the blockchain network.

To fix this vulnerability, update to version 0.4.1 or later of github.com/cosmos/ethermint, which includes a patch to prevent capture-replay attacks.

There are no known workarounds for this vulnerability. It is essential to update to the fixed version of github.com/cosmos/ethermint.

You can find more information about this vulnerability in the vulnerability report at https://pkg.go.dev/vuln/GO-2022-0813.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/cosmos/ethermint.

How To Fix

Latest published version: v0.4.1 as of 23 Oct 2026

go get github.com/cosmos/ethermint@v0.4.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.4.1

This is the first release that contains the fix.

go get github.com/cosmos/ethermint@v0.4.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback