Hawtio-operator: hawtio-operator: cluster-wide secrets read/write granted to operator serviceaccount
Red Hat build of Apache Camel - HawtIO 4
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat build of Apache Camel - HawtIO 4 | — | No fix yet |
| Red Hat Red Hat build of Apache Camel - HawtIO 4 | — | No fix yet |
Original description
A flaw was found in hawtio-operator. The operator's ClusterRole grants secrets: [create, get, list, update, watch] across all namespaces. While the operator uses a controller-runtime label-selector cache as a memory optimization, the ServiceAccount token authorizes read access to every Secret in the cluster. The operator also bypasses the cache via direct API calls. Compromise of the operator pod would yield read access to every Secret in the cluster, including bootstrap tokens, cloud credentials, and other operators' secrets.
From the CVE record · redhat