Improper Handling of Exceptional Conditions Affecting evm package, versions <0.41.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-EVM-6143593
  • published5 Jan 2024
  • disclosed3 Jan 2024
  • creditUnknown

Introduced: 3 Jan 2024

CVE-2024-21629  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade evm to version 0.41.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions via the record_external_operation feature, which allows library users to record custom gas changes. An attacker can cause smart contracts to commit state changes even when the parent caller contract receives a zero address, which typically indicates that the execution has failed.

Note: This issue only impacts library users with custom record_external_operation that returns errors.

CVSS Scores

version 3.1