{"cve":"CVE-2022-39242","nvd":{"published":"2022-09-24T02:15:09.817","modified":"2026-06-17T04:57:58.927","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-682"],"references":["https://github.com/paritytech/frontier/pull/851","https://github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4","https://github.com/paritytech/frontier/pull/851","https://github.com/paritytech/frontier/security/advisories/GHSA-v57h-6hmh-g2p4"],"products":["parity:frontier"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-39242","score":0.0076,"percentile":0.55297,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v57h-6hmh-g2p4","url":"https://osv.dev/vulnerability/GHSA-v57h-6hmh-g2p4","summary":"Weight not properly refunded after EVM execution","modified":"2024-10-24T21:55:59Z","packages":[{"ecosystem":"crates.io","name":"pallet-ethereum","purl":"pkg:cargo/pallet-ethereum","ranges":["<=3.0.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}