CVE-2021-39193 Transaction validity oversight in pallet-ethereum
- Published
- Updated
- Exploit status
- No public exploit known
Description
Frontier is Substrate's Ethereum compatibility layer. Prior to commit number 0b962f218f0cdd796dadfe26c3f09e68f7861b26, 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. A patch is available in commit number 0b962f218f0cdd796dadfe26c3f09e68f7861b26. There are no workarounds aside from applying the patch.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io pallet-ethereum(crates.io) | <= 3.0.0 | after 3.0.0 | Fixed |
| parity frontier | < 2021-09-03 | 2021-09-03 | Fixed |
| paritytech frontier | = < 0b962f218f0cdd796dadfe26c3f09e68f7861b26 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io pallet-ethereum(crates.io) | <= 3.0.0 | No fix listed |
| parity frontier | < 2021-09-03 | 2021-09-03 |
| paritytech frontier | = < 0b962f218f0cdd796dadfe26c3f09e68f7861b26 | No fix listed |
References
- github.com patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com patch
- github.com product
- github.com