GHSA-2RWG-2WH4-7C4F
Authenticated secret exfiltration via Azure Entra credential parameters in the request body
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-2RWG-2WH4-7C4F divulgada · CVSS 7.7 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Remediación | Parche 1.110.0rc2 | litellm · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
This vulnerability affects only deployments with at least one Azure OpenAI (`azure/`) or Azure AI (`azure_ai/`) model, and which do not have `AZURE_API_KEY` or `AZURE_OPENAI_API_KEY` environment variables set.
The request body blocklist in the LiteLLM proxy does not cover the Azure Entra ID credential parameters (`tenant_id`, `client_id`, `client_secret`, `azure_username`, `azure_password` and `azure_scope`). An authenticated caller can send them in a normal `POST /v1/chat/completions` or `POST /v1/images/generations` body for an Azure deployment, and the values override the Azure credential the deployment would otherwise use. A caller can set the request's `client_id` to a reference that points at a server-side environment variable, such as `LITELLM_MASTER_KEY`. Entra then rejects the resolved value as an unknown application and the proxy returns that error to the caller with the resolved value in it.
Impact
A low-privilege authenticated user with access to at least one Azure OpenAI (`azure/`) or Azure AI (`azure_ai/`) model can read environment variables of the proxy process and the contents of files that an environment variable points to. On a typical deployment this includes the database connection URL, provider API keys and `LITELLM_MASTER_KEY`. Reading the master key gives full proxy admin control.
Pre-upgrade Workaround
- Block the six parameters in request bodies at a reverse proxy or API gateway in front of LiteLLM.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypilitellm |
Corregida | 1.110.0rc2 | 0 d | 1.109.1 afectada |
1.106.91.108.61.109.11.110.0rc21.110.0-rc.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/BerriAI/litellm/security/advisories/GHSA-2rwg-2wh4-7c4fLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
