{"id":"CVE-2022-31076","aliases":["CVE-2022-31076","GHSA-8f4f-v9x5-cg6j","GO-2022-0500"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Message can crash CloudCore in KubeEdge","summary":"KubeEdge is built upon Kubernetes and extends native containerized application orchestration and device management to hosts at the Edge. In affected versions a malicious message can crash CloudCore by triggering a nil-pointer dereference in the UDS Server. Since the UDS Server only communicates with the CSI Driver on the cloud side, the attack is limited to the local host network. As such, an attacker would already need to be an authenticated user of the Cloud. Additionally it will be affected only when users turn on the unixsocket switch in the config file cloudcore.yaml. This bug has been fixed in Kubeedge 1.11.0, 1.10.1, and 1.9.3. Users should update to these versions to resolve the issue. Users unable to upgrade should sisable the unixsocket switch of CloudHub in the config file cloudcore.yaml.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"KubeEdge is built upon Kubernetes and extends native containerized application orchestration and device management to hosts at the Edge. In affected versions a malicious message can crash CloudCore by triggering a nil-pointer dereference in the UDS Server. Since the UDS Server only communicates with the CSI Driver on the cloud side, the attack is limited to the local host network. As such, an attacker would already need to be an authenticated user of the Cloud. Additionally it will be affected only when users turn on the unixsocket switch in the config file cloudcore.yaml. This bug has been fixed in Kubeedge 1.11.0, 1.10.1, and 1.9.3. Users should update to these versions to resolve the issue. Users unable to upgrade should sisable the unixsocket switch of CloudHub in the config file cloudcore.yaml.","source":"cvelist"},{"lang":"en","text":"### Impact\nA malicious message can crash CloudCore by triggering a null-pointer dereference in the UDS Server. Since the UDS Server only communicates with the CSI Driver on the cloud side, the attack is limited to the local host network. As such, an attacker would already need to be an authenticated user of the Cloud.\n \nIt will be affected only when users turn on the unixsocket switch in the config file `cloudcore.yaml` as below:\n```\nmodules:\n  cloudHub:\n    ...\n    unixsocket:\n      address: xxx\n      enable: true\n```\n\n### Patches\nThis bug has been fixed in Kubeedge 1.11.0, 1.10.1, and 1.9.3. Users should update to these versions to resolve the issue.\n\n### Workarounds\nDisable the unixsocket switch of CloudHub in the config file `cloudcore.yaml`.\n\n### References\nNA\n\n### Credits\nThanks David Korczynski and Adam Korczynski of ADA Logics for responsibly disclosing this issue in accordance with the [kubeedge security policy](https://github.com/kubeedge/kubeedge/security/policy) during a security audit sponsored by CNCF and facilitated by OSTIF.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [KubeEdge repo](https://github.com/kubeedge/kubeedge/issues/new/choose)\n* To make a vulnerability report, email your vulnerability to the private [cncf-kubeedge-security@lists.cncf.io](mailto:cncf-kubeedge-security@lists.cncf.io) list with the security details and the details expected for [KubeEdge bug reports](https://github.com/kubeedge/kubeedge/blob/master/.github/ISSUE_TEMPLATE/bug-report.md).\n\n**Notes:** This vulnerability was found by fuzzing KubeEdge by way of OSS-Fuzz.","format":"markdown","source":"ghsa"},{"lang":"en","text":"CloudCore UDS Server: Malicious Message can crash CloudCore in github.com/kubeedge/kubeedge","format":"markdown","source":"go"},{"lang":"es","text":"KubeEdge se basa en Kubernetes y extiende la orquestación de aplicaciones en contenedores nativos y la administración de dispositivos a los hosts en el Edge. En versiones afectadas, un mensaje malicioso puede bloquear CloudCore al desencadenar una desreferencia de puntero nil en el servidor UDS. Dado que el servidor UDS sólo es comunicado con el controlador CSI en el lado de la nube, el ataque es limitado a la red local del host. Como tal, un atacante ya necesitaría ser un usuario autenticado de la Nube. Además, sólo será afectado cuando los usuarios activen el interruptor unixsocket en el archivo de configuración cloudcore.yaml. Este error ha sido corregido en Kubeedge versiones 1.11.0, 1.10.1 y 1.9.3. Los usuarios deben actualizar a estas versiones para resolver el problema. Los usuarios que no puedan actualizar deberán deshabilitar el interruptor unixsocket de CloudHub en el archivo de configuración cloudcore.yaml","source":"nvd"}],"published":"2022-06-25T07:19:34.000Z","modified":"2026-06-17T04:44:44.707Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:A/AC:L/Au:S/C:N/I:N/A:P","score":2.7,"rating":"LOW"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":"< 1.9.3","status":"affected"},{"version":">= 1.10.0, < 1.10.1","status":"affected"}],"vendor":"kubeedge","product":"kubeedge","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.3"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.3"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"go"},{"ranges":[{"status":"affected","fixed":"1.9.3"},{"status":"affected","version":"1.10.0"},{"status":"affected","version":"1.10.0"}],"vendor":"linuxfoundation","product":"kubeedge","cpe":"cpe:2.3:a:linuxfoundation:kubeedge:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kubeedge/kubeedge/security/advisories/GHSA-8f4f-v9x5-cg6j","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/kubeedge/kubeedge/pull/3899/commits/5d60ae9eabd6b6b7afe38758e19bbe8137664701","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31076","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/kubeedge/kubeedge","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-22T15:45:56.694Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31076","url":"https://www.cve.org/CVERecord?id=CVE-2022-31076","licence":"CVE Terms of Use","modified":"2025-04-22T17:53:48.947Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8f4f-v9x5-cg6j","url":"https://github.com/advisories/GHSA-8f4f-v9x5-cg6j","licence":"CC-BY-4.0","modified":"2024-08-21T15:42:01.801Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0500","url":"https://pkg.go.dev/vuln/GO-2022-0500","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:27.671Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31076","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31076","licence":"Public domain","modified":"2026-06-17T04:44:44.707Z"}],"updatedAt":"2026-11-25T22:58:12.590Z","epss":{"score":0.00624,"percentile":0.51289,"date":"2026-12-01T12:00:22.000Z"}}