Vulnerability · Published Jun 27, 2022 · Assigned by GitHub_M
CVE-2022-31076Malicious Message can crash CloudCore in KubeEdge
Medium 4.2
In plain English
A medium-severity null pointer dereference in kubeedge from kubeedge. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubeedge/kubeedge | 1.10.1 | GHSA-8f4f-v9x5-cg6j |
| Go | github.com/kubeedge/kubeedge | 1.9.3 | GHSA-8f4f-v9x5-cg6j |
| Go | github.com/kubeedge/kubeedge | 1.10.1, 1.9.3 | GO-2022-0500 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H