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'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.
References
Configurations
History
21 Nov 2024, 08:59
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/vyperlang/vyper/blob/b01cd686aa567b32498fefd76bd96b0597c6f099/vyper/builtins/functions.py#L404-L457 - Product | |
References | () https://github.com/vyperlang/vyper/issues/3756 - Issue Tracking | |
References | () https://github.com/vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2c - Exploit, Vendor Advisory |
09 Feb 2024, 20:21
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2c - Exploit, Vendor Advisory | |
References | () https://github.com/vyperlang/vyper/issues/3756 - Issue Tracking | |
References | () https://github.com/vyperlang/vyper/blob/b01cd686aa567b32498fefd76bd96b0597c6f099/vyper/builtins/functions.py#L404-L457 - Product | |
CWE | CWE-787 | |
CPE | cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
First Time |
Vyperlang
Vyperlang vyper |
01 Feb 2024, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-02-01 17:15
Updated : 2024-11-21 08:59
NVD link : CVE-2024-24561
Mitre link : CVE-2024-24561
CVE.ORG link : CVE-2024-24561
JSON object : View
Products Affected
vyperlang
- vyper