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

High 7.5 Published Updated

Attackers can replay transactions in Cosmos Network Ethermint by exploiting a nonce handling flaw, potentially altering state or causing unintended actions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-25834?

CVE-2021-25834 is a high-severity vulnerability in n/a, published on 8 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cosmos Network Ethermint <= v0.4.0 is affected by a transaction replay vulnerability in the EVM module. If the victim sends a very large nonce transaction, the attacker can replay the transaction through the application.

Weakness: CWE-294

Which versions are affected by CVE-2021-25834?

3 open source packages ship an affected version, including github.com/cosmos/ethermint. It affects 1 product.

PackageAffectedFixed in
github.com/cosmos/ethermint GoAll versions0.4.1
github.com/cosmos/ethermint GoAll versions0.4.1
github.com/cosmos/ethermint GoAll versions0.4.1

Products include Chainsafe Ethermint.

How do I fix CVE-2021-25834?

Upgrade github.com/cosmos/ethermint to 0.4.1 or later.

Is CVE-2021-25834 being exploited?

There is no known exploitation of CVE-2021-25834 in the wild and no public exploit code.

Sources

Also known as GHSA-93p5-8fqw-wjx3, GO-2022-0813.

Is CVE-2021-25834 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free