Strimzi allows unrestricted access to all Secrets in the same Kubernetes namespace from Kafka Connect and MirrorMaker 2 operands
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.strimzi:strimzi | >= 0.47.0, < 0.49.1 | 0.49.1 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Schwäche (CWE)
CWE-200, CWE-863- Plattform
- Java / Kotlin (Maven)
- Paket
io.strimzi:strimzi- Veröffentlicht
- 05.12.2025
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-xrhh-hx36-485q - CC BY 4.0
Schwachstellenhistorie: io.strimzi:strimzi
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 06.2024 06.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 3
- Mittel 1
Veröffentlichungen pro Jahr
- 2024: 1
- 2025: 1
- 2026: 2
-
Strimzi allows unrestricted access to all Secrets in the same Kubernetes namespace from Kafka Connect and MirrorMaker 2 operands dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.