vyper
Affected
- introduced
0, fixed0.4.0b1(ecosystem)
Fixed versions
0.4.0b1
Fix
- Fixed version
0.4.0b1pip install --upgrade vyper==0.4.0b1
Advisory
Also known as: CVE-2024-24561, GHSA-9x7f-gwxq-6f2c
The record has no summary.
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.
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0, fixed 0.4.0b1 (ecosystem)0.4.0b1
0.4.0b1pip install --upgrade vyper==0.4.0b1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0