Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39193

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39193
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:53 UTC · Revision 1

Source evidence

CVE-2021-39193

core-osv · Original source

Published 3 Sept 2021, 18:15 UTC

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.

osv:CVE-2021-39193
Complete source record
{
  "id": "730752b892d6a5791c25b50da6cf43fc8dc646bf1bd4270074aa8053b0f56690",
  "url": "https://osv.dev/vulnerability/CVE-2021-39193",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39193",
    "summary": "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.",
    "evidence": "osv:CVE-2021-39193",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39193",
      "aliases": [
        "CVE-2021-39193",
        "GHSA-hw4v-5x4h-c3xm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/polkadot-evm/frontier",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0b962f218f0cdd796dadfe26c3f09e68f7861b26"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "0b962f218f0cdd796dadfe26c3f09e68f7861b26"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "pallet-evm-v5.0.0",
            "pallet-ethereum-v3.0.0",
            "pallet-dynamic-fee-v3.0.0",
            "fp-storage-v2.0.0",
            "fc-consensus-v2.0.0",
            "pallet-dynamic-fee-v2.0.0",
            "pallet-ethereum-v2.0.0",
            "fp-rpc-v2.1.0",
            "pallet-evm-v4.0.0",
            "fp-storage-v1.0.1",
            "fp-rpc-v2.0.0",
            "fp-evm-v2.0.0",
            "pallet-evm-v3.0.0",
            "pallet-evm-precompile-simple-v1.0.0",
            "pallet-evm-precompile-sha3fips-v1.0.0",
            "pallet-evm-precompile-modexp-v1.0.0",
            "pallet-evm-precompile-ed25519-v1.0.0",
            "pallet-evm-precompile-dispatch-v1.0.0",
            "pallet-evm-precompile-bn128-v1.0.0",
            "pallet-evm-precompile-blake2-v1.0.0",
            "pallet-ethereum-v1.0.0",
            "pallet-dynamic-fee-v1.0.0",
            "fp-storage-v1.0.0",
            "fp-rpc-v1.0.0",
            "fp-evm-v1.0.0",
            "fp-consensus-v1.0.0",
            "fc-rpc-v1.0.0",
            "fc-rpc-core-v1.0.0",
            "fc-mapping-sync-v1.0.0",
            "fc-db-v1.0.0",
            "fc-consensus-v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39193.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:53.937202714Z",
      "provider": "osv",
      "references": [
        "https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26",
        "https://github.com/paritytech/frontier/pull/465",
        "https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae",
        "https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "parity:frontier",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2021-09-03"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-39193",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386413,
  "published_at": "2021-09-03T18:15:07.197+00:00"
}