CVE-2021-41138
Summary
| CVE | CVE-2021-41138 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-10-13 16:15:00 UTC |
| Updated | 2021-10-20 16:45:00 UTC |
| Description | Frontier is Substrate's Ethereum compatibility layer. In the newly introduced signed Frontier-specific extrinsic for `pallet-ethereum`, a large part of transaction validation logic was only called in transaction pool validation, but not in block execution. Malicious validators can take advantage of this to put invalid transactions into a block. The attack is limited in that the signature is always validated, and the majority of the validation is done again in the subsequent `pallet-evm` execution logic. However, do note that a chain ID replay attack was possible. In addition, spamming attacks are of main concerns, while they are limited by Substrate block size limits and other factors. The issue is patched in commit `146bb48849e5393004be5c88beefe76fdf009aba`. |
Risk And Classification
Problem Types: CWE-20
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Validity check for signed Frontier-specific extrinsic not called in block execution · Advisory · paritytech/frontier · GitHub | CONFIRM | github.com | |
| Ensure no error is possible in `apply_validated_transaction` and fix `correct_and_deposit_fee` by sorpaas · Pull Request #497 · paritytech/frontier · GitHub | MISC | github.com | |
| Fix security issue: transaction validity controls must be executed in… · paritytech/frontier@146bb48 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.