CVE-2024-24561
Last modified
CVE-2024-24561 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.90% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vyperlang | Vyper | <= 0.3.10 |
References
- https://github.com/vyperlang/vyper/issues/3756Issue Tracking
- https://github.com/vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2cExploit, Vendor Advisory
- https://github.com/vyperlang/vyper/issues/3756Issue Tracking
- https://github.com/vyperlang/vyper/security/advisories/GHSA-9x7f-gwxq-6f2cExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-24561?
How severe is CVE-2024-24561?
How do I fix CVE-2024-24561?
Are you affected by CVE-2024-24561?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
