CVE-2023-34242
JSON

3.4low

Cilium vulnerable to information leakage via incorrect ReferenceGrant handling

Severity
3.4low CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r7wr-4w5q-55m6BIT-CILIUM-2023-34242BIT-CILIUM-OPERATOR-2023-34242BIT-CILIUM-PROXY-2023-34242BIT-HUBBLE-2023-34242BIT-HUBBLE-RELAY-2023-34242BIT-HUBBLE-UI-2023-34242BIT-HUBBLE-UI-BACKEND-2023-34242GO-2023-1862

Description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to version 1.13.4, when Gateway API is enabled in Cilium, the absence of a check on the namespace in which a ReferenceGrant is created could result in Cilium unintentionally gaining visibility of secrets (including certificates) and services across namespaces. An attacker on an affected cluster can leverage this issue to use cluster secrets that should not be visible to them, or communicate with services that they should not have access to. Gateway API functionality is disabled by default. This vulnerability is fixed in Cilium release 1.13.4. As a workaround, restrict the creation of `ReferenceGrant` resources to admin users by using Kubernetes RBAC.

Affected

Product or packageVersionsReported by
cilium cilium< 1.13.4, before 1.13.4CVE List, NVD
github.com/cilium/cilium (Go)from 1.13.0 before 1.13.4GitHub Advisory Database, Go Vulnerability Database
cilium (Bitnami)before 1.13.4Bitnami Vulnerability Database
cilium-operator (Bitnami)before 1.13.4Bitnami Vulnerability Database
cilium-proxy (Bitnami)before 1.13.4Bitnami Vulnerability Database
hubble (Bitnami)before 1.13.4Bitnami Vulnerability Database
hubble-relay (Bitnami)before 1.13.4Bitnami Vulnerability Database
hubble-ui (Bitnami)before 1.13.4Bitnami Vulnerability Database
hubble-ui-backend (Bitnami)before 1.13.4Bitnami Vulnerability Database

All scores

GitHub_M3.4low CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
GitHub3.4low CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to version 1.13.4, when Gateway API is enabled in Cilium, the absence of a check on the namespace in which a ReferenceGrant is created could result in Cilium unintentionally gaining visibility of secrets (including certificates) and services across namespaces. An attacker on an affected cluster can leverage this issue to use cluster secrets that should not be visible to them, or communicate with services that they should not have access to. Gateway API functionality is disabled by default. This vulnerability is fixed in Cilium release 1.13.4. As a workaround, restrict the creation of `ReferenceGrant` resources to admin users by using Kubernetes RBAC.

GitHub Advisory Database
Impact

When the Gateway API is enabled in Cilium, the absence of a check on the namespace in which a ReferenceGrant is created could result in Cilium gaining visibility of secrets (including certificates) and services across namespaces.

An attacker on an affected cluster can configure Cilium to use cluster secrets or communicate with services that it should not have access to.

Gateway API functionality is disabled by default.

Patches

This vulnerability is fixed in Cilium release 1.13.4.

Cilium versions <1.13 are not affected.

Workarounds

There is no workaround to this issue.

Acknowledgements

The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @meyskens for investigating and fixing the issue.

For more information

If you have any questions or comments about this advisory, please reach out on Slack.

As usual, if you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list: security@cilium.io - first, before disclosing them in any public forums. This is a private mailing list where only members of the Cilium internal security team are subscribed to, and is treated as top priority.

Go Vulnerability Database

Cilium vulnerable to information leakage via incorrect ReferenceGrant handling in github.com/cilium/cilium

NVD (es)

Cilium es una solución de red, observabilidad y seguridad con un plano de datos basado en eBPF. Antes de la versión 1.13.4, cuando la API de puerta de enlace está habilitada en Cilium, la ausencia de una comprobación en el espacio de nombres en el que se crea una "ReferenceGrant" podría dar lugar a que Cilium obtuviera involuntariamente visibilidad de secretos (incluidos certificados) y servicios a través de espacios de nombres. Un atacante en un clúster afectado puede aprovechar este problema para utilizar secretos de clúster que no deberían ser visibles para él, o comunicarse con servicios a los que no debería tener acceso. La funcionalidad "Gateway API" está desactivada por defecto. Esta vulnerabilidad se ha corregido en la versión 1.13.4 de Cilium. Como solución, restrinja la creación de recursos "ReferenceGrant" a los usuarios administradores mediante Kubernetes RBAC.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-34242 changed 2024-12-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-r7wr-4w5q-55m6 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1862 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-34242 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-CILIUM-2023-34242 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-CILIUM-OPERATOR-2023-34242 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-CILIUM-PROXY-2023-34242 changed 2024-08-20Apache-2.0
Bitnami Vulnerability DatabaseBIT-HUBBLE-2023-34242 changed 2024-08-20Apache-2.0
Bitnami Vulnerability DatabaseBIT-HUBBLE-RELAY-2023-34242 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-HUBBLE-UI-2023-34242 changed 2024-08-20Apache-2.0
Bitnami Vulnerability DatabaseBIT-HUBBLE-UI-BACKEND-2023-34242 changed 2024-08-20Apache-2.0