CVE & CISA-KEV Catalog

CVE-2024-21629

MEDIUM
5.9
CVSS v3
NVD

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.

How to fix

Remediation Available
evmNVD
Affected:< 0.41.1Fixed in:0.41.1CVE-2024-21629derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

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

Exploit Intelligence

0.58%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Vendor Advisory1
Product1

Related Vulnerabilities

Other CWE-703 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-21894Critical9.819%--
CVE-2019-5031High8.86.0%--
CVE-2023-49786High7.55.3%-Fix
CVE-2024-10781High8.13.8%-Fix
CVE-2024-22052High7.53.8%--
CVE-2024-22053High8.23.5%--
Embed a live status badge for CVE-2024-21629
CVE-2024-21629 severity badge

Markdown

[![CVE-2024-21629](https://tridentstack.com/cve/badge/CVE-2024-21629.svg)](https://tridentstack.com/cve/CVE-2024-21629)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-21629"><img src="https://tridentstack.com/cve/badge/CVE-2024-21629.svg" alt="CVE-2024-21629"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.