{"schemaVersion":3,"id":"CVE-2021-39193","aliases":["GHSA-hw4v-5x4h-c3xm"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-09-03T17:45:11.000Z","modified":"2024-08-04T01:58:18.337Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01189,"percentile":0.67689,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.01189},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01189,"percentile":0.67689}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01189,"percentile":0.67689}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input","description":"The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1284.html"}],"affected":[{"vendor":"Crates.Io","product":"pallet-ethereum","name":"pallet-ethereum","label":"pallet-ethereum","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/pallet-ethereum","purlType":"cargo","versions":[{"text":"≤ 3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.0.0","eol":null,"hubHref":null},{"vendor":"parity","product":"frontier","name":"frontier","label":"frontier","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2021-09-03","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2021-09-03","eol":null,"hubHref":"/vendor/parity/frontier"},{"vendor":"paritytech","product":"frontier","name":"frontier","label":"frontier","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0b962f218f0cdd796dadfe26c3f09e68f7861b26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0b962f218f0cdd796dadfe26c3f09e68f7861b26","eol":null,"hubHref":"/vendor/paritytech/frontier"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm","label":"github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/paritytech/frontier/pull/465","label":"github.com/paritytech/frontier/pull/465","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae","label":"github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26","label":"github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39193","label":"nvd.nist.gov/vuln/detail/CVE-2021-39193","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/paritytech/frontier/commit/dd112e","label":"github.com/paritytech/frontier/commit/dd112e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/polkadot-evm/frontier","label":"github.com/polkadot-evm/frontier","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-09-03T17:45:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T01:58:18.337Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T16:12:47.973Z","stale":false,"partial":false}}