Odh-model-controller: odh-model-controller: cross-namespace secret read via nim account crd confused deputy
Red Hat OpenShift AI 2.25 · Red Hat OpenShift AI 3.3 · Red Hat OpenShift AI 3.4
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat OpenShift AI 2.25 | — |
|
| Red Hat Red Hat OpenShift AI 3.3 | — |
|
| Red Hat Red Hat OpenShift AI 3.4 | — |
|
Original description
A flaw was found in the `odh-model-controller`. An authenticated user with permissions to create custom resources can exploit a vulnerability in the `loadSecret` function. This function improperly reads the Secret namespace from user-controlled input without validation. This allows an attacker to read sensitive API keys and cloud credentials from other namespaces, leading to information disclosure.