CVE-2021-39193: parity frontier Improper Input Validation
Vulnerability summary
CVE-2021-39193 is a medium (CVSS 5.3) Improper Input Validation vulnerability in parity frontier. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.6% of scored vulnerabilities.
Timeline
- 03-09-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · Crates.ioEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.19%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
0.00 pp
From 1.19% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-1284Improper Validation of Specified Quantity in InputThe product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Affected systems
Crates.Io1 product
- pallet-ethereum≤ 3.0.0
Parity1 product
- frontier< 2021-09-03
Paritytech1 product
- frontier< 0b962f218f0cdd796dadfe26c3f09e68f7861b26
3 vendors · 3 products
References
7 links- github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xmX Refsource CONFIRMWEBPatchThird Party Advisory
- github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849aeX Refsource MISCWEBPatchThird Party Advisory
- github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26X Refsource MISCWEBPatchThird Party Advisory