CVE-2021-39193: Transaction validity oversight in pallet-ethereum
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.52227%
CWE
Published
9/1/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 stems from missing input validation in the transaction validation flow. The key evidence comes from:
- The patch in PR #465 adds gasometer checks for transaction costs in
validate_unsigned
- The CWE-1284 classification indicates improper quantity validation
- The vulnerability description specifically mentions missing input data size validation
- The commit diff shows the critical validation was added to
validate_unsigned
- The test case added in the patch verifies transaction rejection based on gas/data cost This function was the entry point for transaction validation and lacked critical checks for transaction viability before inclusion in blocks.