CVE-2022-39242: Frontier - Denial of Service
- Cve: CVE-2022-39242
- Name: Frontier - Denial of Service
- 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.
- Impact: Attackers can inflate gas prices by constructing blocks with large refunds or reverts, causing network congestion and increased transaction costs.
- Remediation: Apply the patch in commit d3beddc6911a559a3ecc9b3f08e153dbe37a8658.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.00776
- Epss percentile: 0.56559
- Assignee: [email protected]
- Published at: 2022-09-24T02:15:09Z
- Age in days: 1522
- Modified at: 2026-06-17T04:57:58Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-39242
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-682 | Incorrect Calculation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/paritytech/frontier/pull/851 | nvd | Patch, Third Party Advisory |
| https://github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| parity:frontier | < 2022-09-12 | no | nvd | /v1/products/parity/frontier |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| paritytech/frontier | package, pull, security_advisory | yes | /v1/repositories/paritytech/frontier |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts