Vulnerability Details : CVE-2022-36008
Frontier is Substrate's Ethereum compatibility layer. A 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. There are currently no known workarounds.
Vulnerability category: Overflow
Products affected by CVE-2022-36008
- cpe:2.3:a:parity:frontier:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-36008
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 40 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-36008
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
2.8
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2022-36008
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-36008
-
https://github.com/paritytech/frontier/commit/fff8cc43b7756ce3979a38fc473f38e6e24ac451
Fix length checking overflow in EVM revert reason parsing (#820) · paritytech/frontier@fff8cc4 · GitHubPatch;Third Party Advisory
-
https://github.com/paritytech/frontier/pull/820
Fix length checking overflow in EVM revert reason parsing by sorpaas · Pull Request #820 · paritytech/frontier · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/paritytech/frontier/security/advisories/GHSA-mjvm-mhgc-q4gp
Incorrect parsing of EVM reversion exit reason in RPC · Advisory · paritytech/frontier · GitHubIssue Tracking;Third Party Advisory
Jump to