Skip to content

Incorrect parsing of EVM reversion exit reason in RPC

Low
sorpaas published GHSA-mjvm-mhgc-q4gp Aug 15, 2022

Package

cargo Frontier (Rust)

Affected versions

<= commit ef75c42e9eb65319fd09ae589e3d965633b2ef51

Patched versions

>= commit fff8cc43b7756ce3979a38fc473f38e6e24ac451

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 #820

Workarounds

None.

References

PR #820

For more information

If you have any questions or comments about this advisory:

Severity

Low

CVE ID

CVE-2022-36008

Weaknesses

No CWEs