Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. evm
  4. ›
  5. CVE-2021-41153

CVE-2021-41153: Specification non-compliance in JUMPI

October 19, 2021 (updated October 25, 2021)

In evm crate < 0.31.0, JUMPI opcode’s condition is checked after the destination validity check. However, according to Geth and OpenEthereum, the condition check should happen before the destination validity check.

References

  • github.com/advisories/GHSA-pvh2-pj76-4m96
  • github.com/rust-blockchain/evm
  • github.com/rust-blockchain/evm/pull/67
  • github.com/rust-blockchain/evm/security/advisories/GHSA-pvh2-pj76-4m96
  • nvd.nist.gov/vuln/detail/CVE-2021-41153

Code Behaviors & Features

Detect and mitigate CVE-2021-41153 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.31.0

Fixed versions

  • 0.31.0

Solution

Upgrade to version 0.31.0 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-670: Always-Incorrect Control Flow Implementation

Source file

cargo/evm/CVE-2021-41153.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:18 +0000.