CVE-2024-24567
Vyper's raw_call `value=` kwargs not disabled for static and delegate calls
4.8
MEDIUM
CVSS 3.1
EPSS 0.48%
描述
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due to the semantics of the respective opcodes, and vyper will silently ignore the value= argument. If the semantics of the EVM are unknown to the developer, he could suspect that by specifying the `value` kwarg, exactly the given amount will be sent along to the target. This vulnerability affects 0.3.10 and earlier versions.
如何修補 CVE-2024-24567
要修補 CVE-2024-24567,請將受影響套件升級到下列已修補版本。
- —升級至 0.4.0 或更新版本
- —升級至 0.4.0b1 或更新版本
CVE-2024-24567 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.4.0
- from 0, < 0.4.0b1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |