CVE-2024-21629
Last modified
CVE-2024-21629 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.58% chance of exploitation in the next 30 days.
Description
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_operation(Write(out_code.len()))`. If `record_external_operation` later fails, this error is returned to the parent call stack, instead of `Succeeded`. Yet, the substate commitment already happened. This causes smart contracts able to commit state changes, when the parent caller contract receives zero address (which usually indicates that the execution has failed). This issue only impacts library users with custom `record_external_operation` that returns errors. The issue is patched in release 0.41.1. No known workarounds are available.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Evm Project | Evm | < 0.41.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-21629?
How severe is CVE-2024-21629?
How do I fix CVE-2024-21629?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-21623OTCLient is an alternative tibia client for otserv. Prior to…9.8
- CVE-2024-21624nonebot2 is a cross-platform Python asynchronous chatbot fra…6.5
- CVE-2024-21625SideQuest is a place to get virtual reality applications for…8.8
- CVE-2024-21626runc is a CLI tool for spawning and running containers on Li…8.6
- CVE-2024-21627PrestaShop is an open-source e-commerce platform. Prior to v…6.1
- CVE-2024-21628PrestaShop is an open-source e-commerce platform. Prior to v…6.1
- CVE-2024-2163The Ninja Beaver Add-ons for Beaver Builder plugin for WordP…6.4
- CVE-2024-21630Zulip is an open-source team collaboration tool. A vulnerabi…4.3
- CVE-2024-21631Vapor is an HTTP web framework for Swift. Prior to version 4…6.5
- CVE-2024-21632omniauth-microsoft_graph provides an Omniauth strategy for t…9.8
- CVE-2024-21633Apktool is a tool for reverse engineering Android APK files.…7.8
- CVE-2024-21634Amazon Ion is a Java implementation of the Ion data notation…7.5
Are you affected by CVE-2024-21629?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
