[prediction] fastapi<=0.124.4 cap blocks patched Starlette (CVE-2026-48710 / BadHost, CISA KEV)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- Python
- Stelle
- 907
- Fork
- 467
- Merge medio
- 1g 8h
- PR unite (30g)
- 40
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di googleapis/python-aiplatform
-
Protobuf 7.35.1+ support Apertaapi: vertex-ai
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
googleapis/python-aiplatform#7132 ·
-
api: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
googleapis/python-aiplatform#7097 ·
-
CustomContainerTrainingJob.run drops max_wait_duration=0 instead of requesting indefinite DWS wait Apertaapi: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
googleapis/python-aiplatform#7067 · 1 commento ·
-
api: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
googleapis/python-aiplatform#6877 ·
-
api: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
googleapis/python-aiplatform#6865 · 1 commento ·
Tutte le issue di googleapis/python-aiplatform
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
learningequality/kolibri#15351 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Name consistency Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eellak/triplestore#65 · 1 commento ·