Vulnerabilities · 2021 · Parity
CVE-2021-41138
Parity Frontier vulnerability
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`.
Affected products
Frontier. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Parity Frontier runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/paritytech/frontier/commit/146bb48849e5393004be5c88beefe76fdf009aba · Patch
- github.com/paritytech/frontier/pull/497 · Patch
- github.com/paritytech/frontier/security/advisories/GHSA-vj62-g63v-f8mf · Patch
- github.com/paritytech/frontier/pull/495
- nvd.nist.gov/vuln/detail/CVE-2021-41138
- github.com/advisories/GHSA-vj62-g63v-f8mf
- nvd.nist.gov/vuln/detail/CVE-2021-41138
- cve.org/CVERecord?id=CVE-2021-41138
More vulnerabilities in Parity products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.