CVE-2024-24561
CVSS V2 None
CVSS V3 None
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'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.
Overview
- CVE ID
- CVE-2024-24561
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-02-01T16:37:01.007Z
- Last Modified Date
- 2024-02-01T17:39:47.539Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2c | x_refsource_CONFIRM |
https://github.com/vyperlang/vyper/issues/3756 | x_refsource_MISC |
https://github.com/vyperlang/vyper/blob/b01cd686aa567b32498fefd76bd96b0597c6f099/vyper/builtins/functions.py#L404-L457 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-24561 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24561 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-06-26 04:26:47 | Added to TrackCVE |