Integer Coercion Error Affecting org.hyperledger.besu:evm package, versions [,21.10.2)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.12% (46th percentile)
Expand this section
NVD
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGHYPERLEDGERBESU-2317041
  • published 14 Dec 2021
  • disclosed 14 Dec 2021
  • credit Unknown

How to fix?

Upgrade org.hyperledger.besu:evm to version 21.10.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Coercion Error due to incorrect implementation of the SHL, SHR, and SAR operations. Smart contracts that ask for shifts between approximately 2 billion and 4 billion bits (nonsensical but valid values for the operation) will fail to execute and hence fail to validate.