Vulnerability

CVE-2024-24561

criticalCVSS 3.1 9.8Published 1 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Vyperlang vyper

Weakness type

References

  • github.com /vyperlang/vyper/blob/b01cd686aa567b32498fefd76bd96b0597c6f…
  • github.com /vyperlang/vyper/issues/3756
  • github.com /vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2c

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning