Description (CNA)
Kubeflow Model Registry through 0.3.17 contains a server-side request forgery vulnerability that allows namespace users to steal the controller ServiceAccount token via the modelregistry.kubeflow.org/url annotation. Attackers can create an InferenceService pointing the annotation at their server, capture the bearer token, and modify other tenants' InferenceServices cluster-wide.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Kubeflow / Model Registry | affected 0 through 0.3.17 |
CWE
CWE-918
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/kubeflow-hub-controller-token-url-forwarding
- https://github.com/kubeflow/hub/blob/v0.3.17/pkg/inferenceservice-controller/controller.go#L268-L292
- https://github.com/kubeflow/hub/blob/v0.3.17/pkg/openapi/client.go#L420-L423
- https://github.com/kubeflow/hub/blob/v0.3.17/cmd/controller/main.go#L224-L228
- https://github.com/kubeflow/hub
- https://www.vulncheck.com/advisories/kubeflow-model-registry-through-0.3.17-ssrf-via-inferenceservice-controller-url-annotation