GHSA-33F6-VCMH-2XFM
owner_principal_id mass-assignment on update lets a non-admin publish Global or plant rows in other tenants
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-33F6-VCMH-2XFM divulgada · CVSS 9 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Remediación | Parche 2.3.1 | gpustack · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
An authorization flaw in GPUStack's resource update handling allows an authenticated user to change the ownership of a resource they are permitted to update.
Affected handlers authorize access to the existing resource but accept a replacement `owner_principal_id` without validating the ownership change. An attacker can assign a writable resource to another principal or, for resource types that support global ownership, set its owner to null.
For GPU instance templates, this allows a non-administrator to publish an attacker-controlled template globally, bypassing the administrator-only restriction on global template creation.
Affected configurations
Exploitation requires an authenticated account with permission to update an affected resource.
The GPU instance template path is available to ordinary users in personal scope and does not require organization membership. Other affected resource types retain their existing role requirements.
Affected update paths include GPU instance templates, persistent-volume types, persistent volumes, SSH public keys, cloud credentials, models, and model instances. Whether a resource can become global depends on that resource type's ownership constraints.
Impact
An attacker can change the visibility and ownership of a resource they control, including placing it in another principal's scope. For resources that support global ownership, the attacker can bypass restrictions intended to reserve global publication for administrators.
A globally published GPU instance template becomes available to other users as a launch option. If another user selects a malicious template and launches an instance using its container image, attacker-controlled code runs in that workload.
Such code may access or modify data and credentials available to the workload and disrupt its operation. The extent of this impact depends on the workload's permissions, mounted resources, network access, and deployment restrictions. This does not by itself establish unrestricted control of the host or the entire platform.
The ownership change itself requires no interaction from another user. The malicious-template execution scenario requires another user to select and launch the template.
Affected versions
GPUStack versions >= 2.2.0 and < 2.3.1.
Patches
GPUStack 2.3.1 makes resource ownership immutable through ordinary update operations. Requests that change `owner_principal_id` are rejected, while requests that omit it or repeat the existing value remain supported.
The protection is enforced in shared update handling and ORM persistence checks. Model instances also preserve their parent-model and cluster bindings.
Upgrading prevents further unauthorized ownership changes but does not automatically restore ownership or remove templates published before the upgrade. Administrators should review unexpected global resources and ownership assignments.
Workarounds
Until upgrading, restrict affected resource update endpoints to trusted users, or enforce a server-side policy that rejects ownership changes.
Restrict untrusted template creation and updates, and review global templates before allowing users to launch instances from them.
If a suspicious template has already been used, review the resulting workloads and any data or credentials made available to them.
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.1 | 0 d | 2.3.1 no afectada |
2.3.1Arsenal 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-33f6-vcmh-2xfmLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
