CVE-2021-41138
MEDIUM5.3EPSS 0.57%Validity check missing in Frontier
描述
### Impact 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. ### Patches The issue is patched in commit 146bb48849e5393004be5c88beefe76fdf009aba. ### References Patch PR: https://github.com/paritytech/frontier/pull/495 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Frontier repo](https://github.com/paritytech/frontier/issues) ### Special thanks Special thanks to @librelois, @nanocryk and the Moonbeam team for reporting and fixing this security vulnerability.
受影響套件(1)
- crates.io/pallet-ethereumfrom 0, <= 3.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-41138
- PATCHhttps://github.com/polkadot-evm/frontier
- WEBhttps://github.com/paritytech/frontier/commit/146bb48849e5393004be5c88beefe76fdf009aba
- WEBhttps://github.com/paritytech/frontier/pull/495
- WEBhttps://github.com/paritytech/frontier/pull/497
- WEBhttps://github.com/paritytech/frontier/security/advisories/GHSA-vj62-g63v-f8mf