What’s Vulnerable › Vulnerabilities
CVE-2021-39193: Transaction validity oversight in pallet-ethereum
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-09-03 · updated 2026-06-17
- Weakness: CWE-20
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.
Affected products
- paritytech frontier: before 2021-09-03 — fixed in 2021-09-03
How to fix
Upgrade to a fixed version: paritytech frontier 2021-09-03. Check the vendor advisory for mitigations.
References
- https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26
- https://github.com/paritytech/frontier/pull/465
- https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae
- https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm
- https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26
- https://github.com/paritytech/frontier/pull/465
- https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae
- https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm
Get alerted when CVE-2021-39193 or the next vulnerability affects your stack