CVE-2024-21629: Rust EVM is an Ethereum Virtual Machine interpreter
CVE-2024-21629 is a medium-severity flaw (CVSS 5.9) affecting evm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Rust EVM is an Ethereum Virtual Machine interpreter. In `rust-evm`, a feature called `record_external_operation` was introduced, allowing library users to record custom gas changes. This feature can have some bogus interactions with the call stack. In particular, during finalization of a `CREATE` or `CREATE2`, in the case that the substack execution happens successfully, `rust-evm` will first commit the substate, and then call `record_external_op
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-703 |
| Published | 2024-01-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-21629?
evm: upgrade to 0.41.1. Exact commands for each OS are on this page.
Is CVE-2024-21629 being exploited?
CVE-2024-21629 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-21629 affect?
CVE-2024-21629 affects evm. Severity is medium (CVSS 5.9). Rust EVM is an Ethereum Virtual Machine interpreter. In `rust-evm`, a feature called `record_external_operation` was introduced, allowing library users to record custom gas changes. This feature can have some bogus interactions with the cal
How urgent is CVE-2024-21629?
Priority 38/100. Remotely exploitable, no login, no user action