CVE-2024-24561
Vyper's bounds check on built-in `slice()` function can be overflowed
9.8
CRITICAL
CVSS 3.1
EPSS 0.90%
描述
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-2024-24561
要修補 CVE-2024-24561,請將受影響套件升級到下列已修補版本。
- —升級至 0.4.0 或更新版本
- —升級至 0.4.0b1 或更新版本
CVE-2024-24561 正在被利用嗎?
低 — EPSS 為 0.9%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.4.0
- from 0, < 0.4.0b1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |