First published: Sat Sep 24 2022(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linuxfoundation Besu | >=22.4.1<22.7.1 | |
Linuxfoundation Besu | =22.4.0 | |
Linuxfoundation Besu | =22.4.0-rc2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-36025 is classified as a medium severity vulnerability, as it affects the availability of gas calculations in Besu.
To fix CVE-2022-36025, upgrade Besu to version 22.7.1 or later.
Versions of Besu from 22.4.1 to 22.7.0, including the 22.4.0 and 22.4.0-rc2 versions, are affected by CVE-2022-36025.
CVE-2022-36025 involves an incorrect conversion between numeric types, leading to potential issues in gas calculations during CALL operations.
Yes, CVE-2022-36025 can impact the execution of smart contracts in Besu by affecting the gas calculation during critical operations.