Buffer overflow in Vyperlang Vyper
CVE-2024-24561
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…
Vulnerability class: Buffer Overflow
EPSS: 0.012 (79.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Vyperlang Vyper — versions <= 0.3.10
Weakness classification (CWE)
References
- 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)
Frequently asked questions
- What is CVE-2024-24561?
- CVE-2024-24561 is a critical-severity vulnerability in Vyperlang Vyper, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2024-02-01.
- How severe is CVE-2024-24561?
- Critical severity. CVSS v3 base score is 9.8 out of 10.