CVE-2021-39193
MEDIUM 5.3CVSS 3.1Transaction validity oversight in pallet-ethereum
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.
- Published
- 3 Sep 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1284CWE-20
- Also known as
- GHSA-hw4v-5x4h-c3xm
- Sources
- NVDJSONOSV GHSA-hw4v-5x4h-c3xmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | parity | frontiercpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:* |
< 2021-09-03 | 2021-09-03 |
| OSV | crates.io | pallet-ethereum | <= 3.0.0 |
References
- https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26 · Patch, Third Party Advisory, WEB
- https://github.com/paritytech/frontier/pull/465 · Patch, Third Party Advisory, WEB
- https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae · Patch, Third Party Advisory, WEB
- https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-39193 · ADVISORY
- https://github.com/paritytech/frontier/commit/dd112e · WEB
- https://github.com/polkadot-evm/frontier · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Sep 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Sep 2021)