Invalid block metadata via missing gas-cost validation
Published Sep 3, 2021 · Updated Aug 4, 2024
Improper input validation in Frontier before commit 0b962f2 allows remote attackers to add ineffective transactions to block metadata. The pallet-ethereum validate_unsigned path accepts a transaction whose input-data gas cost exceeds its gas limit, then records its metadata even though EVM execution rejects it. No authentication or user interaction is required, but Substrate extrinsic-size limits bound storage growth and the transaction cannot change Ethereum or Substrate state.
Summary
What happened
Improper input validation in Frontier before commit 0b962f2 allows remote attackers to add ineffective transactions to block metadata. The pallet-ethereum validate_unsigned path accepts a transaction whose input-data gas cost exceeds its gas limit, then records its metadata even though EVM execution rejects it. No authentication or user interaction is required, but Substrate extrinsic-size limits bound storage growth and the transaction cannot change Ethereum or Substrate state.
The record
- CVE
- CVE-2021-39193
- Published
- Sep 3, 2021
- Updated
- Aug 4, 2024
- Vendor
- Parity Technologies
- Product
- Frontier
- Classifications
- CWE-20, CWE-1284
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 3, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0b962f218f0cdd796dadfe26c3f09e68f7861b26
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo