CVE-2021-41138: Validity check missing in Frontier
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6778%
CWE
Published
10/13/2021
Updated
10/24/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pallet-ethereum | rust | <= 3.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from validation logic being split between transaction pool and block execution contexts. The commit diff shows validate_self_contained was refactored into validate_transaction_in_pool (for pool checks) and validate_transaction_in_block (for execution checks). The original implementation lacked execution-phase validation, as evidenced by the introduction of pre_dispatch_self_contained calling validate_transaction_in_block in the patch. This missing block execution validation is the root cause described in the CVE.