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