CVE-2021-39193

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:*

History

17 Jul 2023, 15:14

Type Values Removed Values Added
CWE CWE-20 CWE-1284

10 Sep 2021, 19:26

Type Values Removed Values Added
References (MISC) https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26 - (MISC) https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26 - Patch, Third Party Advisory
References (MISC) https://github.com/paritytech/frontier/pull/465 - (MISC) https://github.com/paritytech/frontier/pull/465 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm - (CONFIRM) https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm - Patch, Third Party Advisory
References (MISC) https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae - (MISC) https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 5.3
CPE cpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:*

03 Sep 2021, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-03 18:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-39193

Mitre link : CVE-2021-39193

CVE.ORG link : CVE-2021-39193


JSON object : View

Products Affected

parity

  • frontier
CWE
CWE-1284

Improper Validation of Specified Quantity in Input

CWE-20

Improper Input Validation