CVE-2023-40015

CVSS 3.1 Score 5.3 of 10 (medium)

Details

Published Sep 4, 2023
Updated: Sep 8, 2023
CWE ID 670

Summary

CVE-2023-40bit15 introduces a vulnerability in Vyper, a Pythonic Smart Contract Language. The compiler evaluates certain expressions from right to left instead of left to left, leading to potential side-effects. These expressions include `unsafe_add`, `unsafe_sub`, `unsafe_mul`, `unsafe_div`, `pow_mod256`, bitwise operators, and specific function calls like `raw_call`, `pop()`, `create_minimal_proxy_to`, `create_copy_of`, and `create_from_blueprint`. The side-effects can stem from state-modifying external or internal calls. This issue, which has not been patched, could cause problems when one argument's side effects impact other arguments' evaluation. Users must ensure that the expressions' arguments do not produce side effects or guarantee that no dependent argument relies on them.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share