Executive Summary

Informations
Name CVE-2024-21629 First vendor Publication 2024-01-02
Vendor Cve Last vendor Modification 2024-01-09

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Overall CVSS Score 7.5
Base Score 7.5 Environmental Score 7.5
impact SubScore 3.6 Temporal Score 7.5
Exploitabality Sub Score 3.9
 
Attack Vector Network Attack Complexity Low
Privileges Required None User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact High Availability Impact None
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21629

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 6

Sources (Detail)

https://github.com/rust-ethereum/evm/blob/release-v041/src/executor/stack/exe...
https://github.com/rust-ethereum/evm/commit/d8991ec727ad0fb64fe9957a3cd307387...
https://github.com/rust-ethereum/evm/pull/264
https://github.com/rust-ethereum/evm/security/advisories/GHSA-27wg-99g8-2v4v
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
Date Informations
2024-01-09 21:27:27
  • Multiple Updates
2024-01-03 17:27:23
  • Multiple Updates
2024-01-03 00:27:23
  • First insertion