Lucene search

K
cvelistGitHub_MCVELIST:CVE-2022-36025
HistorySep 24, 2022 - 2:00 a.m.

CVE-2022-36025 Incorrect Conversion between Numeric Types in Besu Ethereum Client

2022-09-2402:00:13
CWE-681
CWE-196
GitHub_M
www.cve.org
1
besu
ethereum client
incorrect conversion
numeric types
gas
evm
consensus
patched
workaround

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

AI Score

9.6

Confidence

High

EPSS

0.001

Percentile

40.1%

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.

CNA Affected

[
  {
    "product": "besu",
    "vendor": "hyperledger",
    "versions": [
      {
        "status": "affected",
        "version": "> 22.1.3, < 22.7.1"
      }
    ]
  }
]

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

AI Score

9.6

Confidence

High

EPSS

0.001

Percentile

40.1%

Related for CVELIST:CVE-2022-36025