CVE-2022-31077 Malicious response from KubeEdge can crash CSI Driver controller server
A malicious response from KubeEdge triggers a nil-pointer dereference, crashing the CSI Driver controller and causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-31077?
CVE-2022-31077 is a medium-severity vulnerability in kubeedge, published on 27 Jun 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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 response from KubeEdge can crash the CSI Driver controller server by triggering a nil-pointer dereference panic. As a consequence, the CSI Driver controller will be in denial of service. 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. At the time of writing, no workaround exists.
Weakness: CWE-476
Which versions are affected by CVE-2022-31077?
5 open source packages ship an affected version, including github.com/kubeedge/kubeedge. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kubeedge/kubeedge Go | All versions | 1.9.3, 1.10.1 |
github.com/kubeedge/kubeedge Go | All versions | 1.9.3 |
github.com/kubeedge/kubeedge Go | All versions | 1.9.3 |
github.com/kubeedge/kubeedge Go | From 1.10.0 | 1.10.1 |
github.com/kubeedge/kubeedge Go | From 1.10.0 | 1.10.1 |
Products include Linuxfoundation Kubeedge.
How do I fix CVE-2022-31077?
Upgrade github.com/kubeedge/kubeedge to a fixed version for your release line: 1.9.3 or 1.10.1.
Is CVE-2022-31077 being exploited?
There is no known exploitation of CVE-2022-31077 in the wild and no public exploit code.
Other vulnerabilities in kubeedge
- CVE-2022-31073 KubeEdge Edge ServiceBus module DoS
- CVE-2022-31075 KubeEdge DoS when signing the CSR from EdgeCore
- CVE-2022-31074 KubeEdge Cloud AdmissionController component DoS
- CVE-2022-31078 KubeEdge CloudCore Router memory exhaustion
- CVE-2022-31079 KubeEdge Cloud Stream and Edge Stream DoS from large stream message
Sources
Also known as GHSA-x938-fvfw-7jh5, GO-2022-0501.