Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. evm
  4. ›
  5. CVE-2024-21629

CVE-2024-21629: Rust EVM erroneousle handles `record_external_operation` error return

January 3, 2024

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.

References

  • github.com/advisories/GHSA-27wg-99g8-2v4v
  • github.com/rust-ethereum/evm
  • github.com/rust-ethereum/evm/blob/release-v041/src/executor/stack/executor.rs
  • github.com/rust-ethereum/evm/commit/d8991ec727ad0fb64fe9957a3cd307387a6701e4
  • github.com/rust-ethereum/evm/pull/264
  • github.com/rust-ethereum/evm/security/advisories/GHSA-27wg-99g8-2v4v
  • nvd.nist.gov/vuln/detail/CVE-2024-21629

Code Behaviors & Features

Detect and mitigate CVE-2024-21629 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.41.1

Fixed versions

  • 0.41.1

Solution

Upgrade to version 0.41.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-703: Improper Check or Handling of Exceptional Conditions

Source file

cargo/evm/CVE-2024-21629.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.