GitHub Advisoryadvisory · crates.io
GHSA-hw4v-5x4h-c3xm Transaction validity oversight in pallet-ethereum
MEDIUM
Official page ↗
- Aliases
- CVE-2021-39193
- Ecosystem
- crates.io
- Packages
- pallet-ethereum
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-1284, CWE-20
- Reviewed
- 2021-09-01
Affected packages
• crates.io pallet-ethereum: <= 3.0.0 (no fix yet)
Description
Impact
A bug in `pallet-ethereum` can cause invalid transactions to be included in the Ethereum block state in `pallet-ethereum` due to not validating the input data size. Any invalid transactions included this way have no possibility to alter the internal Ethereum or Substrate state. The transaction will appear to have be included, but is of no effect as it is rejected by the EVM engine. The impact is further limited by Substrate extrinsic size constraints.
Patches
Patches are applied in PR #465.
Workarounds
None.
References
Patch PR: https://github.com/paritytech/frontier/pull/465
For more information
If you have any questions or comments about this advisory:
• Open an issue in the Frontier repo
Related
Alias · CVE (1)
- CVE-2021-39193 Frontier is Substrate's Ethereum compatibility layer. vulnerability
References
- https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm web
- https://nvd.nist.gov/vuln/detail/CVE-2021-39193 advisory
- https://github.com/paritytech/frontier/pull/465 web
- https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae web
- https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26 web
- https://github.com/paritytech/frontier/commit/dd112e web
- https://github.com/polkadot-evm/frontier package