CVE-2021-25835: 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-25835: 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The package github.com/cosmos/ethermint is a Go package that is part of the Cosmos Network. It is used for building applications that are compatible with the Ethereum Virtual Machine (EVM). Ethermint uses the same chainIDEpoch and signature schemes as Ethereum for compatibility. It enables developers to create decentralized applications (dApps) and smart contracts on the Cosmos Network. However, versions of Ethermint up to v0.4.0 are vulnerable to an authentication bypass vulnerability.

Vulnerability Detail

The vulnerability in Ethermint allows for a cross-chain transaction replay attack. This means that a verified signature in Ethereum is still valid in Ethermint with the same message content and chainIDEpoch. An attacker can exploit this vulnerability to bypass authentication and perform unauthorized transactions on the Ethermint network. This can lead to financial losses and compromise the integrity of the affected applications.

How To Fix

Minimum fixed version

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 essential to upgrade to the fixed version of the package to mitigate the risk of exploitation.

Conclusion

The vulnerability in github.com/cosmos/ethermint allows for an authentication bypass by capture-replay attack. Upgrading to version 0.4.1 or later of the package is necessary to mitigate the risk. It is recommended to update all dependencies and ensure that applications using Ethermint are using the latest version. 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 used for building applications compatible with the Ethereum Virtual Machine (EVM) on the Cosmos Network.

A cross-chain transaction replay attack is when a verified signature in one blockchain is valid in another blockchain with the same message content and chainIDEpoch. This allows an attacker to replay transactions from one blockchain to another, bypassing authentication.

This vulnerability can lead to unauthorized transactions on the Ethermint network, resulting in financial losses for users and compromising the integrity of affected applications.

To fix this vulnerability, upgrade to version 0.4.1 or later of the github.com/cosmos/ethermint package and ensure that all dependencies are also updated.

No, there is no known workaround for this vulnerability. It is crucial to upgrade to the fixed version of the package.

Related vulnerabilities

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

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

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