GHSA-mjvm-mhgc-q4gp

Suggest an improvement
Source
https://github.com/advisories/GHSA-mjvm-mhgc-q4gp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-mjvm-mhgc-q4gp/GHSA-mjvm-mhgc-q4gp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mjvm-mhgc-q4gp
Aliases
Published
2022-08-18T19:18:25Z
Modified
2024-10-24T21:48:34Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Incorrect parsing of EVM reversion exit reason in RPC
Details

Impact

A low severity security issue was discovered affecting parsing of the RPC result of the exit reason in case of EVM reversion. In release build, this would cause the exit reason being incorrectly parsed and returned by RPC. In debug build, this would cause an overflow panic.

No action is needed unless you have a bridge node that needs to distinguish different reversion exit reasons and you used RPC for this.

Patches

The issue is patched in https://github.com/paritytech/frontier/pull/820

Workarounds

None.

References

PR https://github.com/paritytech/frontier/pull/820

For more information

If you have any questions or comments about this advisory: * Email Wei Tang

Database specific
{
    "nvd_published_at": "2022-08-19T21:15:00Z",
    "cwe_ids": [
        "CWE-190"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-08-18T19:18:25Z"
}
References

Affected packages

crates.io / fc-rpc

Package

Affected ranges

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