BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-39242 in Parity Frontier

Medium 5.3 Fix available

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 trans...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.3
EPSS0.9%
EPSS percentile58th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Parity Frontier < 2022-09-12

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-39242
BreachSpider IDBS-2022-GLOBAL-331389-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published2022-09-24
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-682: CWE-682

Related attack patterns (CAPEC)

CAPEC-128 Integer Attacks via CWE-682

CAPEC-129 Pointer Manipulation via CWE-682

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-39242 affects Frontier, an Ethereum compatibility layer for Substrate, by allowing block spamming attacks due to improper handling of EVM gas refunds.

An adversary can construct blocks with transactions that have large amounts of refunds or unused gas with reverts, exploiting the fact that the worst-case weight was always accounted as the block weight, leading to potential block spamming.

Questions

What is CVE-2022-39242?

CVE-2022-39242 affects Frontier, an Ethereum compatibility layer for Substrate, by allowing block spamming attacks due to improper handling of EVM gas refunds.

What is the CVSS score for CVE-2022-39242?

CVE-2022-39242 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.9%.

Is CVE-2022-39242 actively exploited?

No confirmed active exploitation of CVE-2022-39242 as of 2026-05-30.

How do I remediate CVE-2022-39242?

Priority: MEDIUM.

What systems are affected by CVE-2022-39242?

CVE-2022-39242 affects Parity Frontier.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Parity","product":"Frontier","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.