{"id":"CVE-2021-41138","aliases":["CVE-2021-41138","GHSA-vj62-g63v-f8mf"],"related":[],"kind":"vulnerability","state":"published","title":"Validity check for signed Frontier-specific extrinsic not called in block execution","summary":"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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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`.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIn 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.\n\nThe 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.\n\n### Patches\n\nThe issue is patched in commit 146bb48849e5393004be5c88beefe76fdf009aba.\n\n### References\n\nPatch PR: https://github.com/paritytech/frontier/pull/495\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Frontier repo](https://github.com/paritytech/frontier/issues)\n\n### Special thanks\n\nSpecial thanks to @librelois, @nanocryk and the Moonbeam team for reporting and fixing this security vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Frontier es la capa de compatibilidad con Ethereum de Substrate. En la recién introducida extrínseca específica de Frontier para \"pallet-ethereum\", una gran parte de la lógica de comprobación de transacciones sólo se llamaba en la comprobación del conjunto de transacciones, pero no en la ejecución del bloque. Los comprobadores maliciosos pueden aprovechar esto para poner transacciones no válidas en un bloque. El ataque está limitado en el sentido de que la firma siempre es validada, y la mayor parte de la comprobación es realizada de nuevo en la lógica de ejecución posterior de \"pallet-evm\". Sin embargo, es debido tener en cuenta que es posible un ataque de repetición de ID de cadena. Además, los ataques de spam son de las principales preocupaciones, mientras que están limitados por los límites de tamaño de bloque del sustrato y otros factores. El problema está parcheado en el commit \"146bb48849e5393004be5c88beefe76fdf009aba\"","source":"nvd"}],"published":"2021-10-13T15:15:11.000Z","modified":"2026-07-08T06:28:30.103Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 146bb48","status":"affected"}],"vendor":"paritytech","product":"frontier","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"3.0.0"}],"ecosystem":"crates.io","package":"pallet-ethereum","purl":"pkg:cargo/pallet-ethereum","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2021-09-30","fixed":"2021-10-13"}],"vendor":"parity","product":"frontier","cpe":"cpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/paritytech/frontier/security/advisories/GHSA-vj62-g63v-f8mf","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/paritytech/frontier/pull/497","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/paritytech/frontier/commit/146bb48849e5393004be5c88beefe76fdf009aba","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41138","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/paritytech/frontier/pull/495","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/polkadot-evm/frontier","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41138","url":"https://www.cve.org/CVERecord?id=CVE-2021-41138","licence":"CVE Terms of Use","modified":"2024-08-04T02:59:31.757Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vj62-g63v-f8mf","url":"https://github.com/advisories/GHSA-vj62-g63v-f8mf","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:30.103Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41138","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41138","licence":"Public domain","modified":"2026-06-17T04:07:57.040Z"}],"updatedAt":"2026-11-25T22:58:04.486Z","epss":{"score":0.01383,"percentile":0.72973,"date":"2026-12-01T12:00:22.000Z"}}