GHSA-3R33-M53H-P2RW
Worker management API accepts inference-only API keys via the delegated model-auth path
Texto original en inglés · Ver en español
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.3.0 | gpustack · -3 d desde divulgación | |
| Divulgación | Publicada | GHSA-3R33-M53H-P2RW divulgada · CVSS 7.6 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
GPUStack's worker management API incorrectly accepts successful model inference authorization as permission to access worker management endpoints.
An attacker with an inference-only API key that passes the server's model authorization check can bypass worker management authentication when the worker API is network-accessible.
Platform administrator and Organization Owner privileges are not required. The issue can affect both single-organization and multi-organization deployments.
Details
In affected versions, worker management endpoints share an authentication dependency with the worker's inference proxy.
That dependency supports delegated authorization through the server's model authentication endpoint. A successful response establishes permission to perform inference for a model, but the worker also accepts that response for management operations.
The authorized model is not required to correspond to the resource targeted by the management request. This permits access beyond the API key's intended inference scope.
Exploitation requirements
Exploitation requires:
- Network access to an affected worker's management API.
- An API key and model combination accepted by the server's delegated model authorization check.
- A worker able to complete that delegated check.
Worker API ports and network exposure depend on deployment configuration. Binding to all interfaces inside a container does not, by itself, expose the port outside that container.
Impact
An attacker can access management endpoints protected by the affected authentication dependency, subject to endpoint-specific checks and the worker's permissions.
Potential impact includes:
- Reading serving and other operational logs available on the target worker, including logs for resources the caller cannot access through the server API.
- Inspecting filesystem metadata and reading supported model configuration files.
- Changing runtime configuration fields exposed by the worker API.
- On Kubernetes workers, issuing Kubernetes API requests using the worker's ServiceAccount permissions.
Logs may contain prompts, responses, or other sensitive information if the inference backend records them.
Kubernetes impact depends on RBAC. A ServiceAccount with broad permissions can permit sensitive resource reads, workload changes, or destructive operations. The filesystem inspection endpoints do not by themselves establish arbitrary file disclosure or command execution.
Patches
The issue is fixed in 2.3.0.
Delegated model authorization is now limited to the inference proxy. Worker management endpoints require worker or registration credentials.
Upgrade affected workers, including embedded workers, to 2.3.0 or another release containing the fix. Updating only a separate server does not replace vulnerable worker code.
Workarounds
Until upgrading, restrict network access to worker management APIs to trusted control-plane components and required gateway infrastructure.
Ensure untrusted inference clients cannot reach worker management endpoints through direct connections or intermediary proxies. Allow inference traffic only through the intended inference routes.
Weakness
CWE-863: Incorrect Authorization.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypigpustack |
Corregida | 2.3.0 | -3 d | 2.3.1 no afectada |
2.3.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/gpustack/gpustack/security/advisories/GHSA-3r33-m53h-p2rwLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
