`evaluation` extra caps litellm below 1.97.0, so no release fixing GHSA-7hp6-4w63-5g45 / CVE-2026-114612 (critical) can be installed

未關閉 適合新手
#7,252 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@AtharvRG 已經在處理了。

開始於 2026年10月31日。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
65/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
python

研究方向

Issue 指出 2.7.0 套件中繼資料裡 evaluation extra 的 LiteLLM 版本範圍,並提供一個在 Python 3.14.7 上使用 uv 的可重現 resolver 命令。先找出該 extra 的相依性範圍宣告位置,再檢查套件的相依性與測試慣例。完成標準是:該 extra 能解析至已修補的 LiteLLM 版本,同時保留受支援的 Python 限制;重新執行提供的 dry-run 命令進行驗證。

由索引模型根據 Issue 內容生成。

描述

api: vertex-ai

The evaluation extra declares, in 2.7.0 (latest):

litellm<1.97.0,>=1.83.7; python_version < "3.14" and extra == "evaluation"
litellm<1.97.0,>=1.93.0; python_version >= "3.14" and extra == "evaluation"

litellm GHSA-7hp6-4w63-5g45 / CVE-2026-114612 (published 2026-10-27, critical, CVSS 3.1 9.9) affects 1.91.0 and later and is fixed in 1.100.4, 1.101.3, 1.102.2, 1.103.1 and 1.104.0rc2 and later series. Every allowed version is below 1.97.0, so the extra cannot be installed with a patched litellm on any Python: a resolver picks 1.96.2, which is in the affected range. On Python 3.14 the lower bound >=1.93.0 leaves no unaffected version at all; on older Pythons only the pre-1.91.0 releases of the 1.x google-cloud-aiplatform line (litellm<1.86.0) escape it.

Repro (Python 3.14.7, uv 0.13.4):

$ uv pip install --dry-run "google-cloud-aiplatform[evaluation]==2.7.0" "litellm>=1.100.4"
error: No solution found when resolving dependencies
  cause: Because google-cloud-aiplatform[evaluation]>=2.7.0 depends on litellm{python_full_version < '3.15'}>=1.93.0,<1.97.0 and you require google-cloud-aiplatform[evaluation]==2.7.0, we can conclude that you require litellm>=1.93.0,<1.97.0.
         And because you require litellm>=1.100.4, we can conclude that your requirements are unsatisfiable.

Downstream, apache-airflow-providers-google requires google-cloud-aiplatform[evaluation], so Airflow images on Python 3.14 ship the affected litellm and fail scanners on a critical finding.

Could the upper bound move to a range containing a patched release (1.104.x or 1.106.x), as #7233 and #7062 did for the earlier advisories? If something blocks it, what is it? I am not claiming the advisory is reachable through the evaluation client; it describes the LiteLLM proxy server.

主要語言
Python
星號
914
分支
475
平均合併
2 天 6 小時
30 天內合併 PR
38

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

googleapis/python-aiplatform 的其他 Issue

查看 googleapis/python-aiplatform 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。