Incorrect Default Permissions in Cilium
cve-program · CVE-2022-29178
PublishedCilium is open source software for providing and securing network connectivity and loadbalancing between application workloads. Cilium prior to versions 1.9.16, 1.10.11, and 1.11.15 contains an incorrect default permissions vulnerability. Operating Systems with users belonging to the group ID 1000 can access the API of Cilium via Unix domain socket available on the host where Cilium is running. This could allow malicious users to compromise integrity as well as system availability on that host. The problem has been fixed and the patch is available in versions 1.9.16, 1.10.11, and 1.11.5. A potential workaround is to modify Cilium's DaemonSet to run with a certain command, which can be found in the GitHub Security Advisory for this vulnerability.
Read the publisher's advisoryeuvd · EUVD-2022-2834
PublishedCilium is open source software for providing and securing network connectivity and loadbalancing between application workloads. Cilium prior to versions 1.9.16, 1.10.11, and 1.11.15 contains an incorrect default permissions vulnerability. Operating Systems with users belonging to the group ID 1000 can access the API of Cilium via Unix domain socket available on the host where Cilium is running. This could allow malicious users to compromise integrity as well as system availability on that host. The problem has been fixed and the patch is available in versions 1.9.16, 1.10.11, and 1.11.5. A potential workaround is to modify Cilium's DaemonSet to run with a certain command, which can be found in the GitHub Security Advisory for this vulnerability.
Read the publisher's advisorynvd · CVE-2022-29178
PublishedCilium is open source software for providing and securing network connectivity and loadbalancing between application workloads. Cilium prior to versions 1.9.16, 1.10.11, and 1.11.15 contains an incorrect default permissions vulnerability. Operating Systems with users belonging to the group ID 1000 can access the API of Cilium via Unix domain socket available on the host where Cilium is running. This could allow malicious users to compromise integrity as well as system availability on that host. The problem has been fixed and the patch is available in versions 1.9.16, 1.10.11, and 1.11.5. A potential workaround is to modify Cilium's DaemonSet to run with a certain command, which can be found in the GitHub Security Advisory for this vulnerability.
Read the publisher's advisoryosv · GHSA-6p8v-8cq8-v2r3
Published### Impact Users with host file system access on a node and the privileges to run as group ID 1000 can gain access to the per node API of Cilium via Unix domain socket on the host where Cilium is running. If a malicious user is able to gain unprivileged access to a user corresponding to this group, then they can leverage this access to compromise the integrity as well as system availability on that host. Operating Systems that have unprivileged users **not** belonging the group ID 1000 are **not** affected by this vulnerability. Best practices for managing the secure deployment of Kubernetes clusters will typically limit the ability for a malicious user to deploy pods with access to this group or to access the host filesystem, and limit user access to the nodes for users belonging to this group. These best practices include (but are not limited to) enforcing Admission Control policies to limit the configuration of Kubernetes Pod [hostPath](https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) and [SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) fields. ### Patches Cilium versions >=1.9.16, >=1.10.11, >=1.11.5 mitigate this issue by setting the default group to 0 (root). ### Workarounds Prevent Cilium from running with group 1000 by modifying Cilium's DaemonSet to run with the following command: ```yaml containers: - name: cilium-agent args: - -c - "groupdel cilium && cilium-agent --config-dir=/tmp/cilium/config-map" command: - bash ``` instead of ```yaml containers: - name: cilium-agent args: - --config-dir=/tmp/cilium/config-map command: - cilium-agent ``` ### Acknowledgements The Cilium community has worked together with members of Isovalent and Form 3 to prepare these mitigations. Special thanks to Daniel Iziourov and Daniel Teixeira for their cooperation. ### For more information If you have any questions or comments about this advisory: * Email us at [[email protected]](mailto:[email protected])
Read the publisher's advisoryosv · GO-2022-0457
PublishedAccess to Unix domain socket can lead to privileges escalation in Cilium 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-2022-29178 · CVE overview and exploitation status
BIT-cilium-operator-2022-29178
BIT-hubble-ui-backend-2022-29178
cve-program · CVE-2022-29178
- https://github.com/cilium/cilium/security/advisories/GHSA-6p8v-8cq8-v2r3
- https://github.com/cilium/cilium/releases/tag/v1.10.11
- https://github.com/cilium/cilium/releases/tag/v1.11.5
- https://github.com/cilium/cilium/releases/tag/v1.9.16
euvd · EUVD-2022-2834
- https://github.com/cilium/cilium/security/advisories/GHSA-6p8v-8cq8-v2r3
- https://github.com/cilium/cilium/releases/tag/v1.10.11
- https://github.com/cilium/cilium/releases/tag/v1.11.5
- https://github.com/cilium/cilium/releases/tag/v1.9.16
nvd · CVE-2022-29178
- https://github.com/cilium/cilium/releases/tag/v1.10.11
- https://github.com/cilium/cilium/releases/tag/v1.11.5
- https://github.com/cilium/cilium/releases/tag/v1.9.16
- https://github.com/cilium/cilium/security/advisories/GHSA-6p8v-8cq8-v2r3
osv · GHSA-6p8v-8cq8-v2r3
- https://github.com/cilium/cilium/security/advisories/GHSA-6p8v-8cq8-v2r3
- https://nvd.nist.gov/vuln/detail/CVE-2022-29178
- https://github.com/cilium/cilium/releases/tag/v1.10.11
- https://github.com/cilium/cilium/releases/tag/v1.11.5
- https://github.com/cilium/cilium/releases/tag/v1.9.16
osv · GO-2022-0457
Related changes
Linked by CVE identifierNo related changes are available here.