GitHub Advisoryadvisory · crates.io

GHSA-mjvm-mhgc-q4gp Incorrect parsing of EVM reversion exit reason in RPC

MEDIUM Published 2022-08-18 Modified 2024-10-24 Official page ↗
Aliases
CVE-2022-36008
Ecosystem
crates.io
Packages
fc-rpc
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-190
Reviewed
2022-08-18

Affected packages

• crates.io fc-rpc: <= 1.0.0 (no fix yet)

Description

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

Related

Alias · CVE (1)

  • CVE-2022-36008 Frontier is Substrate's Ethereum compatibility layer. vulnerability

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References