GHSA-hw4v-5x4h-c3xm

Suggest an improvement
Source
https://github.com/advisories/GHSA-hw4v-5x4h-c3xm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-hw4v-5x4h-c3xm/GHSA-hw4v-5x4h-c3xm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hw4v-5x4h-c3xm
Aliases
Published
2021-09-01T18:22:48Z
Modified
2024-10-24T21:18:31Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Transaction validity oversight in pallet-ethereum
Details

Impact

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.

Patches

Patches are applied in PR #465.

Workarounds

None.

References

Patch PR: https://github.com/paritytech/frontier/pull/465

For more information

If you have any questions or comments about this advisory: * Open an issue in the Frontier repo

Database specific
{
    "nvd_published_at": "2021-09-03T18:15:00Z",
    "cwe_ids": [
        "CWE-1284",
        "CWE-20"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-09-01T18:16:10Z"
}
References

Affected packages

crates.io / pallet-ethereum

Package

Name
pallet-ethereum
View open source insights on deps.dev
Purl
pkg:cargo/pallet-ethereum

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.0.0