CVE-2022-39242: parity frontier Incorrect Calculation
Vulnerability summary
CVE-2022-39242 is a medium (CVSS 5.3) Incorrect Calculation vulnerability in parity frontier. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.7% of scored vulnerabilities.
Timeline
- 24-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Frontier is an Ethereum compatibility layer for Substrate. Prior to commit d3beddc6911a559a3ecc9b3f08e153dbe37a8658, the worst case weight was always accounted as the block weight for all cases. In case of large EVM gas refunds, this can lead to block spamming attacks -- the adversary can construct blocks with transactions that have large amount of refunds or unused gases with reverts, and as a result inflate up the chain gas prices. The impact of this issue is limited in that the spamming attack would still be costly for any adversary, and it has no ability to alter any chain state. This issue has been patched in commit d3beddc6911a559a3ecc9b3f08e153dbe37a8658. There are no known workarounds.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
+0.02 pp
From 0.74% 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 causeAffected systems
Crates.Io1 product
- pallet-ethereum≤ 3.0.0
Parity1 product
- frontier< 2022-09-12
Paritytech1 product
- frontier< commit d3beddc6911a559a3ecc9b3f08e153dbe37a8658
3 vendors · 3 products
References
4 links- github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4X Refsource CONFIRMWEBThird Party Advisory