CVE-2022-39242
Frontier Substrate EVM Gas Refund Block Spamming Vulnerability
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.
INFO
Published Date :
Sept. 24, 2022, 2:15 a.m.
Last Modified :
Sept. 29, 2022, 2:54 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-39242
.
URL | Resource |
---|---|
https://github.com/paritytech/frontier/pull/851 | Patch Third Party Advisory |
https://github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-39242
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39242
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Sep. 29, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Changed Reference Type https://github.com/paritytech/frontier/pull/851 No Types Assigned https://github.com/paritytech/frontier/pull/851 Patch, Third Party Advisory Changed Reference Type https://github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4 No Types Assigned https://github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4 Third Party Advisory Added CWE NIST CWE-682 Added CPE Configuration OR *cpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:* versions up to (excluding) 2022-09-12
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39242
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-39242
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.00%
score
0.38194
percentile