[prediction] fastapi<=0.124.4 cap blocks patched Starlette (CVE-2026-48710 / BadHost, CISA KEV)
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
调研方向
Look at the dependency declarations in setup.py or pyproject.toml for the 'prediction', 'full', and 'testing' extras. The issue is about updating the FastAPI version constraint to >=0.133.0 to allow a patched Starlette (>=1.0.1). Check how Custom Prediction Routines (CPR) are built in LocalModel.build_cpr_model to understand the impact. After updating the version bounds, run pip check to ensure no conflicts and test the build process for a CPR container.
由索引模型根据 Issue 内容生成。
描述
The prediction, full and testing extras in google-cloud-aiplatform 2.2.0 declare fastapi>=0.71.0,<=0.124.4. FastAPI 0.124.4 requires starlette>=0.40.0,<0.51.0, so these extras cannot resolve to a Starlette version patched for CVE-2026-48710 (GHSA-86qp-5c8j-p5mr), fixed in starlette>=1.0.1. The CVE was added to CISA's KEV catalog in September 2026.
This affects Custom Prediction Routines: LocalModel.build_cpr_model installs google-cloud-aiplatform[prediction] in the image, so every CPR container ships a vulnerable Starlette unless users override it in requirements.txt, which produces a declared dependency conflict and fails pip check.
FastAPI dropped the Starlette upper bound in 0.133.0 and google-adk already moved to fastapi>=0.133,<1 / starlette>=1.3.1,<2.
Thanks for your help!
- 主要语言
- Python
- 星标
- 907
- 派生
- 467
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 40
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleapis/python-aiplatform 的其他 Issue
-
api: vertex-ai
难度 1/5 1 小时以内 新手友好度 85/100
googleapis/python-aiplatform#7132 ·
-
api: vertex-ai
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/python-aiplatform#7097 ·
-
CustomContainerTrainingJob.run drops max_wait_duration=0 instead of requesting indefinite DWS wait 未关闭api: vertex-ai
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/python-aiplatform#7067 · 1 条评论 ·
-
api: vertex-ai
难度 2/5 1-3 小时 新手友好度 68/100
googleapis/python-aiplatform#6877 ·
-
api: vertex-ai
难度 2/5 1-3 小时 新手友好度 68/100
googleapis/python-aiplatform#6865 · 1 条评论 ·
查看 googleapis/python-aiplatform 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·