CVE-2021-39193 Transaction validity oversight in pallet-ethereum

Medium 5.3 Published Updated

Attackers can include invalid Ethereum transactions in block state due to missing input validation, though they have no functional effect on the system.

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

What is CVE-2021-39193?

CVE-2021-39193 is a medium-severity vulnerability in paritytech frontier, published on 3 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Frontier is Substrate's Ethereum compatibility layer. Prior to commit number 0b962f218f0cdd796dadfe26c3f09e68f7861b26, a bug in `pallet-ethereum` can cause invalid transactions to be included in the Ethereum block state in `pallet-ethereum` due to not validating the input data size. Any invalid transactions included this way have no possibility to alter the internal Ethereum or Substrate state. The transaction will appear to have be included, but is of no effect as it is rejected by the EVM engine. The impact is further limited by Substrate extrinsic size constraints. A patch is available in commit number 0b962f218f0cdd796dadfe26c3f09e68f7861b26. There are no workarounds aside from applying the patch.

Weakness: CWE-1284, CWE-20

Which versions are affected by CVE-2021-39193?

2 open source packages ship an affected version, including pallet-ethereum. It affects 1 product.

PackageAffectedFixed in
pallet-ethereum crates.ioAll versions to 3.0.0None
pallet-ethereum crates.ioAll versions to 3.0.0None

Products include Parity Frontier.

How do I fix CVE-2021-39193?

No fix has been published for CVE-2021-39193 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-39193 being exploited?

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

Sources

Also known as GHSA-hw4v-5x4h-c3xm.

Is CVE-2021-39193 in your software?

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

Check your SBOMs for free