CVE-2021-41153
CRITICAL 9.8CVSS 3.1Specification non-compliance in JUMPI
The evm crate is a pure Rust implementation of Ethereum Virtual Machine. 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. This is a high severity security advisory if you use evm crate for Ethereum mainnet. In this case, you should update your library dependency immediately to on or after 0.31.0. This is a low severity security advisory if you use evm crate in Frontier or in a standalone blockchain, because there's no security exploit possible with this advisory. It is not recommended to update to on or after 0.31.0 until all the normal chain upgrade preparations have been done. If you use Frontier or other pallet-evm based Substrate blockchain, please ensure to update your spec_version before updating this. For other blockchains, please make sure to follow a hard-fork process before you update this.
- Published
- 18 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-670
- Also known as
- GHSA-pvh2-pj76-4m96
- Sources
- NVDJSONOSV GHSA-pvh2-pj76-4m96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | evm_project | evmcpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:* |
< 0.31.0 | 0.31.0 |
| OSV | crates.io | evm | < 0.31.0 | 0.31.0 |
References
- https://github.com/rust-blockchain/evm/pull/67 · Patch, Third Party Advisory, WEB
- https://github.com/rust-blockchain/evm/security/advisories/GHSA-pvh2-pj76-4m96 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41153 · ADVISORY
- https://github.com/rust-blockchain/evm · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 18 Oct 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2021)