CVE-2024-24561

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
01/02/2024
Last modified:
09/02/2024

Description

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.10 and earlier, the bounds check for slices does not account for the ability for start + length to overflow when the values aren&amp;#39;t literals. If a slice() function uses a non-literal argument for the start or length variable, this creates the ability for an attacker to overflow the bounds check. This issue can be used to do OOB access to storage, memory or calldata addresses. It can also be used to corrupt the length slot of the respective array.<br /> <br />

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* 0.3.10 (including)