CVE-2023-40015
CVSS 3.1 Score 5.3 of 10 (medium)
Details
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.
Prevent 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.
Affected Products
- Vyperlang Vyper
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions