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

github.com/cosmos/ethermint Updated 02 Oct 2025

Summary

15/02/2022
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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package github.com/cosmos/ethermint is a Go package that is part of the Cosmos Network. It provides an implementation of the Ethereum Virtual Machine (EVM) module for the Cosmos Network. The EVM module allows developers to run Ethereum smart contracts on the Cosmos Network. The vulnerability affects versions of Ethermint up to v0.4.0.

Vulnerability Detail

The vulnerability in Ethermint v0.4.0 is an authentication bypass by capture-replay. An attacker can exploit this vulnerability by sending a very large nonce transaction to the victim. The attacker can then replay this transaction through the application, bypassing authentication mechanisms. This can lead to unauthorized access and potential abuse of the application's functionality.

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 recommended to upgrade to the fixed version of Ethermint as soon as possible.

Conclusion

In conclusion, the vulnerability in Ethermint v0.4.0 allows for an authentication bypass by capture-replay. Users of Ethermint should upgrade to version v0.4.1 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

Ethermint is a Go package that provides an implementation of the Ethereum Virtual Machine (EVM) module for the Cosmos Network.

This vulnerability allows an attacker to bypass authentication and potentially gain unauthorized access to the application.

To fix this vulnerability, upgrade to Ethermint v0.4.1 or later.

There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version of Ethermint.

You can find more information about this vulnerability in the GitHub advisory database.

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