Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.hyperledger.besu/evm
  4. ›
  5. CVE-2022-36025

CVE-2022-36025: Incorrect Conversion between Numeric Types

September 23, 2022

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.

References

  • github.com/advisories/GHSA-4456-w38r-m53x
  • github.com/hyperledger/besu/security/advisories/GHSA-4456-w38r-m53x

Code Behaviors & Features

Detect and mitigate CVE-2022-36025 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 22.4.0-rc1 before 22.7.1

Fixed versions

  • 22.7.1

Solution

Upgrade to version 22.7.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-196: Unsigned to Signed Conversion Error
  • CWE-681: Incorrect Conversion between Numeric Types

Source file

maven/org.hyperledger.besu/evm/CVE-2022-36025.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.