Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Kubeflow Model Registry
Default version status: unaffected
0 to ≤ 0.3.17affected
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 ↗