SputnikVM, also called evm, is a Rust implementation of Ethereum Virtual Machine. A custom stateful precompile can use the `is_static` parameter to determine if the call is executed in a static context (via `STATICCALL`), and thus decide if stateful operations should be done. Prior to version 0.36.0, the passed `is_static` parameter was incorrect -- it was only set to `true` if the call came from a direct `STATICCALL` opcode. However, once a static call context is entered, it should stay static. The issue only impacts custom precompiles that actually uses `is_static`. For those affected, the issue can lead to possible incorrect state transitions. Version 0.36.0 contains a patch. There are no known workarounds.
References
Link | Resource |
---|---|
https://github.com/rust-blockchain/evm/pull/133 | Patch Third Party Advisory |
https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34 | Third Party Advisory |
https://github.com/rust-blockchain/evm/pull/133 | Patch Third Party Advisory |
https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34 | Third Party Advisory |
Configurations
History
21 Nov 2024, 07:18
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/rust-blockchain/evm/pull/133 - Patch, Third Party Advisory | |
References | () https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34 - Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.9 |
28 Oct 2022, 19:37
Type | Values Removed | Values Added |
---|---|---|
References | (CONFIRM) https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34 - Third Party Advisory | |
References | (MISC) https://github.com/rust-blockchain/evm/pull/133 - Patch, Third Party Advisory | |
CWE | CWE-670 | |
CPE | cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
25 Oct 2022, 19:36
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-10-25 19:15
Updated : 2024-11-21 07:18
NVD link : CVE-2022-39354
Mitre link : CVE-2022-39354
CVE.ORG link : CVE-2022-39354
JSON object : View
Products Affected
evm_project
- evm
CWE
CWE-670
Always-Incorrect Control Flow Implementation