BerriAI/litellm 中的远程代码执行(CVE-2024-5751)

admin 2024-06-30 22:40:12 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
BerriAI/litellm 中的远程代码执行(CVE-2024-5751)

CVE编号

CVE-2024-5751

利用情况

暂无

补丁情况

N/A

披露时间

2024-06-28
漏洞描述
BerriAI/litellm version v1.35.8 contains a vulnerability where an attacker can achieve remote code execution. The vulnerability exists in the `add_deployment` function, which decodes and decrypts environment variables from base64 and assigns them to `os.environ`. An attacker can exploit this by sending a malicious payload to the `/config/update` endpoint, which is then processed and executed by the server when the `get_secret` function is triggered. This requires the server to use Google KMS and a database to store a model.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://huntr.com/bounties/ae623c2f-b64b-4245-9ed4-f13a0a5824ce
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