U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-24561

Change History

New CVE Received from GitHub, Inc. 2/01/2024 12:15:11 PM

Action Type Old Value New Value
Added 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.

Added CVSS V3.1

								
							
							
						
GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added CWE

								
							
							
						
GitHub, Inc. CWE-119
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/vyperlang/vyper/blob/b01cd686aa567b32498fefd76bd96b0597c6f099/vyper/builtins/functions.py#L404-L457 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/vyperlang/vyper/issues/3756 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2c [No types assigned]