VYPR

crates.io package

pallet-evm-precompile-modexp

pkg:cargo/pallet-evm-precompile-modexp

Vulnerabilities (2)

  • CVE-2023-28431Mar 22, 2023
    affected <= 1.0.0

    Frontier is an Ethereum compatibility layer for Substrate. Frontier's `modexp` precompile uses `num-bigint` crate under the hood. In the implementation prior to pull request 1017, the cases for modulus being even and modulus being odd are treated separately. Odd modulus uses the

  • CVE-2022-21685Jan 14, 2022
    affected <= 1.0.0

    Frontier is Substrate's Ethereum compatibility layer. Prior to commit number `8a93fdc6c9f4eb1d2f2a11b7ff1d12d70bf5a664`, a bug in Frontier's MODEXP precompile implementation can cause an integer underflow in certain conditions. This will cause a node crash for debug builds. For r