TROYANOSYVIRUS
Back to CVEs

CVE-2024-24561

CRITICAL
9.8

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/1/2024
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

vyperlang:vyper

Weaknesses (CWE)

CWE-119CWE-787

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.