7.4high
Strimzi allows unrestricted access to all Secrets in the same Kubernetes namespace from Kafka Connect and MirrorMaker 2 operands
- Severity
- 7.4high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-xrhh-hx36-485q
Description
Strimzi provides a way to run an Apache Kafka cluster on Kubernetes or OpenShift in various deployment configurations. From 0.47.0 and prior to 0.49.1, in some situations, Strimzi creates an incorrect Kubernetes Role which grants the Apache Kafka Connect and Apache Kafka MirrorMaker 2 operands the GET access to all Kubernetes Secrets that exist in the given Kubernetes namespace. The issue is fixed in Strimzi 0.49.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| strimzi strimzi-kafka-operator | >= 0.47.0, < 0.49.1 | CVE List |
| io.strimzi:strimzi (Maven) | from 0.47.0 before 0.49.1 | GitHub Advisory Database |
| linuxfoundation strimzi | before 0.49.1 | NVD |
All scores
| GitHub_M | 7.4high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Classification
What each source says
CVE List
Strimzi provides a way to run an Apache Kafka cluster on Kubernetes or OpenShift in various deployment configurations. From 0.47.0 and prior to 0.49.1, in some situations, Strimzi creates an incorrect Kubernetes Role which grants the Apache Kafka Connect and Apache Kafka MirrorMaker 2 operands the GET access to all Kubernetes Secrets that exist in the given Kubernetes namespace. The issue is fixed in Strimzi 0.49.1.
GitHub Advisory Database
Impact
In some situations, Strimzi creates an incorrect Kubernetes Role which grants the Apache Kafka Connect and Apache Kafka MirrorMaker 2 operands the GET access to all Kubernetes Secrets that exist in the given Kubernetes namespace. The exact scenario when this happens is when:
- Apache Kafka Connect is deployed without at least one of the following options configured:
- TLS encryption with configured trusted certificates (no
.spec.tls.trustedCertificatessection in theKafkaConnectCR) - mTLS authentication (no
type: tlsin.spec.authenticationsection of theKafkaConnectCR) - TLS encryption with configured trusted certificates for
type: oauthauthentication (no.spec.authentication.tlsTrustedCertificatessection in theKafkaConnectCR)
- TLS encryption with configured trusted certificates (no
- Apache Kafka MirrorMaker2 is deployed without at least one of the following options configured for the target cluster:
- TLS encryption with configured trusted certificates (no
.spec.target.tls.trustedCertificatessection in theKafkaConnectCR) - mTLS authentication (no
type: tlsin.spec.target.authenticationsection of theKafkaConnectCR) - TLS encryption with configured trusted certificates for
type: oauthauthentication (no.spec.target.authentication.tlsTrustedCertificatessection in theKafkaConnectCR) - TLS encryption with configured trusted certificates (no
.spec.clusters[].tls.trustedCertificatessection in theKafkaConnectCR for the target cluster) - mTLS authentication (no
type: tlsin.spec.clusters[].authenticationsection of theKafkaConnectCR for the target cluster) - TLS encryption with configured trusted certificates for
type: oauthauthentication (no.spec.clusters[].authentication.tlsTrustedCertificatessection in theKafkaConnectCR for the target cluster)
- TLS encryption with configured trusted certificates (no
When the operands configured as described above are deployed with Strimzi >= 0.47.0 and <= 0.49.0, any code running within their Pods and using their Service Account for authentication will be able to GET any Kubernetes Secret from the same namespace. This can be done by executing 3rd party tools from the Pods. Or directly from the Kafka Connect code, for example, using configuration providers or HTTP connectors. The Pods are allowed to only GET the Secrets. They are not allowed to list, watch, modify, or delete the Secrets.
Patches
The issue is fixed in Strimzi 0.49.1.
Workarounds
There is no workaround for this issue when using the affected operands with the affected configurations.
NVD (es)
Strimzi proporciona una forma de ejecutar un clúster de Apache Kafka en Kubernetes u OpenShift en varias configuraciones de despliegue. Desde 0.47.0 y versiones anteriores a 0.49.1, en algunas situaciones, Strimzi crea un Role de Kubernetes incorrecto que otorga a los operandos de Apache Kafka Connect y Apache Kafka MirrorMaker 2 el acceso GET a todos los Secrets de Kubernetes que existen en el namespace de Kubernetes dado. El problema está solucionado en Strimzi 0.49.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66623 changed 2025-12-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xrhh-hx36-485q changed 2025-12-05 | CC-BY-4.0 |
| NVD | CVE-2025-66623 changed 2026-09-25 | Public domain |