CVE-2021-25834: Authentication bypass by capture-replay in github.com/cosmos/ethermint
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/cosmos/ethermint.