{"id":"GHSA-mjvm-mhgc-q4gp","summary":"Incorrect parsing of EVM reversion exit reason in RPC","details":"### Impact\n\nA 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.\n\nNo action is needed unless you have a bridge node that needs to distinguish different reversion exit reasons and you used RPC for this.\n\n### Patches\n\nThe issue is patched in https://github.com/paritytech/frontier/pull/820\n\n### Workarounds\n\nNone.\n\n### References\n\nPR https://github.com/paritytech/frontier/pull/820\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Email [Wei Tang](mailto:wei@that.world)","aliases":["CVE-2022-36008"],"modified":"2024-10-24T21:48:34Z","published":"2022-08-18T19:18:25Z","database_specific":{"github_reviewed_at":"2022-08-18T19:18:25Z","github_reviewed":true,"severity":"MODERATE","cwe_ids":["CWE-190"],"nvd_published_at":"2022-08-19T21:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/paritytech/frontier/security/advisories/GHSA-mjvm-mhgc-q4gp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36008"},{"type":"WEB","url":"https://github.com/paritytech/frontier/pull/820"},{"type":"WEB","url":"https://github.com/paritytech/frontier/commit/fff8cc43b7756ce3979a38fc473f38e6e24ac451"},{"type":"PACKAGE","url":"https://github.com/paritytech/frontier"}],"affected":[{"package":{"name":"fc-rpc","ecosystem":"crates.io","purl":"pkg:cargo/fc-rpc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-mjvm-mhgc-q4gp/GHSA-mjvm-mhgc-q4gp.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}