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


0.0
high
  • Attack Complexity

    Low

  • Availability

    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.