CVE-2021-39193 Transaction validity oversight in pallet-ethereum
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.
Which versions are affected by CVE-2021-39193?
2 open source packages ship an affected version, including pallet-ethereum. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pallet-ethereum crates.io | All versions to 3.0.0 | None |
pallet-ethereum crates.io | All versions to 3.0.0 | None |
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.
Other vulnerabilities in paritytech frontier
- CVE-2023-45130 Frontier opcode SUICIDE touches too many storage values on large contracts
- CVE-2023-28431 Frontier's modexp precompile is slow for even modulus
- CVE-2022-36008 Message length overflow in frontier
- CVE-2022-21685 Integer underflow in Frontier
- CVE-2022-39242 Incorrect Calculation in Frontier leads to inflated Ethereum chain gas prices
Sources
Also known as GHSA-hw4v-5x4h-c3xm.