Cilium vulnerable to information leakage via incorrect ReferenceGrant handling
cve-program · CVE-2023-34242
PublishedCilium 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.
Read the publisher's advisoryeuvd · EUVD-2023-1875
PublishedCilium 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.
Read the publisher's advisorynvd · CVE-2023-34242
PublishedCilium 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.
Read the publisher's advisoryosv · GHSA-r7wr-4w5q-55m6
Published### Impact When the [Gateway API](https://docs.cilium.io/en/v1.13/network/servicemesh/gateway-api/gateway-api/) is enabled in Cilium, the absence of a check on the namespace in which a [ReferenceGrant](https://gateway-api.sigs.k8s.io/api-types/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](https://docs.cilium.io/en/latest/community/community/#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: [[email protected]](mailto:[email protected]) - 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.
Read the publisher's advisoryosv · GO-2023-1862
PublishedCilium vulnerable to information leakage via incorrect ReferenceGrant handling in github.com/cilium/cilium
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-34242 · CVE overview and exploitation status
BIT-cilium-operator-2023-34242
BIT-hubble-ui-backend-2023-34242
cve-program · CVE-2023-34242
- https://github.com/cilium/cilium/security/advisories/GHSA-r7wr-4w5q-55m6
- https://github.com/cilium/cilium/releases/tag/v1.13.4
euvd · EUVD-2023-1875
- https://github.com/cilium/cilium/security/advisories/GHSA-r7wr-4w5q-55m6
- https://github.com/cilium/cilium/releases/tag/v1.13.4
nvd · CVE-2023-34242
- https://github.com/cilium/cilium/releases/tag/v1.13.4
- https://github.com/cilium/cilium/security/advisories/GHSA-r7wr-4w5q-55m6
osv · GHSA-r7wr-4w5q-55m6
- https://github.com/cilium/cilium/security/advisories/GHSA-r7wr-4w5q-55m6
- https://nvd.nist.gov/vuln/detail/CVE-2023-34242
- https://github.com/cilium/cilium
- https://github.com/cilium/cilium/releases/tag/v1.13.4
osv · GO-2023-1862
Related changes
Linked by CVE identifierNo related changes are available here.