Interger Underflow Affecting pallet-evm-precompile-modexp package, versions *


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (42nd percentile)

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 IDSNYK-RUST-PALLETEVMPRECOMPILEMODEXP-2342079
  • published16 Jan 2022
  • disclosed16 Jan 2022
  • creditSR-Labs

Introduced: 16 Jan 2022

CVE-2022-21685  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Interger Underflow due to improper precompile implementation, which may cause a node crash for debug builds. For release builds (and production WebAssembly binaries), the impact is limited as it can only cause a normal EVM out-of-gas.

CVSS Scores

version 3.1