CVE-2021-41138: parity frontier Improper Input Validation
Vulnerability summary
CVE-2021-41138 is a medium (CVSS 5.3) Improper Input Validation vulnerability in parity frontier. EPSS estimates a 1.38% chance of exploitation in the next 30 days, higher than 71.9% of scored vulnerabilities.
Timeline
- 13-10-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Frontier is Substrate's Ethereum compatibility layer. In the newly introduced signed Frontier-specific extrinsic for `pallet-ethereum`, a large part of transaction validation logic was only called in transaction pool validation, but not in block execution. Malicious validators can take advantage of this to put invalid transactions into a block. The attack is limited in that the signature is always validated, and the majority of the validation is done again in the subsequent `pallet-evm` execution logic. However, do note that a chain ID replay attack was possible. In addition, spamming attacks are of main concerns, while they are limited by Substrate block size limits and other factors. The issue is patched in commit `146bb48849e5393004be5c88beefe76fdf009aba`.
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.38%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
0.00 pp
From 1.38% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- pallet-ethereum≤ 3.0.0
Parity1 product
- frontier≥ 2021-09-30, < 2021-10-13
Paritytech1 product
- frontier< 146bb48
3 vendors · 3 products
References
6 links- github.com/paritytech/frontier/security/advisories/GHSA-vj62-g63v-f8mfX Refsource CONFIRMWEBPatchThird Party Advisory
- github.com/paritytech/frontier/commit/146bb48849e5393004be5c88beefe76fdf009abaX Refsource MISCWEBPatchThird Party Advisory