Skip to content
OpenAdvisories
Medium · 4.9 CVE-2022-31075 EUVD-2022-6445GHSA-x3px-2p95-f6jrGO-2022-0509

KubeEdge DoS when signing the CSR from EdgeCore

Published Jul 11, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

KubeEdge is an open source system for extending native containerized application orchestration capabilities to hosts at Edge. Prior to versions 1.11.1, 1.10.2, and 1.9.4, EdgeCore may be susceptible to a DoS attack on CloudHub if an attacker was to send a well-crafted HTTP request to `/edge.crt`. If an attacker can send a well-crafted HTTP request to CloudHub, and that request has a very large body, that request can crash the HTTP service through a memory exhaustion vector. The request body is being read into memory, and a body that is larger than the available memory can lead to a successful attack. Because the request would have to make it through authorization, only authorized users may perform this attack. The consequence of the exhaustion is that CloudHub will be in denial of service. KubeEdge is affected only when users enable the CloudHub module in the file `cloudcore.yaml`. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. As a workaround, disable the CloudHub switch in the config file `cloudcore.yaml`.

Affected products

VendorProductAffectedFixed
kubeedge kubeedge < 1.9.4, >= 1.10.0, < 1.10.2, = 1.11.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kubeedge/kubeedge >= 1.11.0, < 1.11.1 1.11.1 GHSA-x3px-2p95-f6jr
Go github.com/kubeedge/kubeedge >= 1.10.0, < 1.10.2 1.10.2 GHSA-x3px-2p95-f6jr
Go github.com/kubeedge/kubeedge < 1.9.4 1.9.4 GHSA-x3px-2p95-f6jr
Go github.com/kubeedge/kubeedge < 1.9.4 · >= 1.10.0, < 1.10.2 · >= 1.11.0, < 1.11.1 1.9.4, 1.10.2, 1.11.1 GO-2022-0509

References