Vulnerability Name:

CVE-2022-36025 (CCN-237158)

Assigned:2022-09-23
Published:2022-09-23
Updated:2022-09-28
Summary:Besu is a Java-based Ethereum client. In versions newer than 22.1.3 and prior to 22.7.1, Besu is subject to an Incorrect Conversion between Numeric Types. An error in 32 bit signed and unsigned types in the calculation of available gas in the CALL operations (including DELEGATECALL) results in incorrect gas being passed into called contracts and incorrect gas being returned after call execution. Where the amount of gas makes a difference in the success or failure, or if the gas is a negative 64 bit value, the execution will result in a different state root than expected, resulting in a consensus failure in networks with multiple EVM implementations. In networks with a single EVM implementation this can be used to execute with significantly more gas than then transaction requested, possibly exceeding gas limitations. This issue is patched in version 22.7.1. As a workaround, reverting to version 22.1.3 or earlier will prevent incorrect execution.
CVSS v3 Severity:9.1 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)
7.9 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): High
8.2 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L)
7.1 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): Low
CVSS v2 Severity:8.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:C/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): Partial
Vulnerability Type:CWE-681
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2022-36025

Source: XF
Type: UNKNOWN
hyperledger-cve202236025-dos(237158)

Source: CCN
Type: Besu GIT Repository
Gas allocation error in CALL operations in Besu EVM

Source: CONFIRM
Type: Third Party Advisory
https://github.com/hyperledger/besu/security/advisories/GHSA-4456-w38r-m53x

Vulnerable Configuration:Configuration 1:
  • cpe:/a:linuxfoundation:besu:22.4.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:linuxfoundation:besu:22.4.0:-:*:*:*:*:*:*
  • OR cpe:/a:linuxfoundation:besu:*:*:*:*:*:*:*:* (Version >= 22.4.1 and < 22.7.1)

  • * Denotes that component is vulnerable
    BACK
    linuxfoundation besu 22.4.0 rc2
    linuxfoundation besu 22.4.0 -
    linuxfoundation besu *