raw_call `value=` kwargs 未禁用静态和委托调用 (CVE-2024-24567)
CVE编号
CVE-2024-24567利用情况
暂无补丁情况
N/A披露时间
2024-01-31漏洞描述
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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/vyperlang/vyper/blob/9136169468f317a53b4e7448389aa315f90b9... | |
https://github.com/vyperlang/vyper/security/advisories/GHSA-x2c2-q32w-4w6m |
- 攻击路径 网络
- 攻击复杂度 高
- 权限要求 无
- 影响范围 未更改
- 用户交互 无
- 可用性 低
- 保密性 无
- 完整性 低
CWE-ID | 漏洞类型 |
CWE-754 | 对因果或异常条件的不恰当检查 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论