berriai/litellm 中的远程代码执行(CVE-2024-4264)

admin 2024-05-22 00:44:55 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
berriai/litellm 中的远程代码执行(CVE-2024-4264)

CVE编号

CVE-2024-4264

利用情况

暂无

补丁情况

N/A

披露时间

2024-05-18
漏洞描述
A remote code execution (RCE) vulnerability exists in the berriai/litellm project due to improper control of the generation of code when using the `eval` function unsafely in the `litellm.get_secret()` method. Specifically, when the server utilizes Google KMS, untrusted data is passed to the `eval` function without any sanitization. Attackers can exploit this vulnerability by injecting malicious values into environment variables through the `/config/update` endpoint, which allows for the update of settings in `proxy_server_config.yaml`.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://huntr.com/bounties/a3221b0c-6e25-4295-ab0f-042997e8fc61
CVSS3评分 9.8
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 高
  • 完整性 高
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-ID 漏洞类型
CWE-94 对生成代码的控制不恰当(代码注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0