Vulnerability · Published Jul 11, 2022 · Assigned by GitHub_M

CVE-2022-31075KubeEdge DoS when signing the CSR from EdgeCore

Medium 4.9

In plain English

A medium-severity uncontrolled resource consumption in kubeedge from kubeedge. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)1.0%top 37.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/kubeedge/kubeedge1.11.1GHSA-x3px-2p95-f6jr
Gogithub.com/kubeedge/kubeedge1.10.2GHSA-x3px-2p95-f6jr
Gogithub.com/kubeedge/kubeedge1.9.4GHSA-x3px-2p95-f6jr
Gogithub.com/kubeedge/kubeedge1.10.2, 1.11.1, 1.9.4GO-2022-0509

Affected products (as reported)

VendorProductVersions
kubeedge kubeedge < 1.9.4>= 1.10.0, < 1.10.2= 1.11.0

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

References