Vulnerability · Published Jul 11, 2022 · Assigned by GitHub_M
CVE-2022-31079KubeEdge Cloud Stream and Edge Stream DoS from large stream message
Medium 4.4
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 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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, the Cloud Stream server and the Edge Stream server reads the entire message into memory without imposing a limit on the size of this message. An attacker can exploit this by sending a large message to exhaust memory and cause a DoS. The Cloud Stream server and the Edge Stream server are under DoS attack in this case. The consequence of the exhaustion is that the CloudCore and EdgeCore will be in a denial of service. Only an authenticated user can cause this issue. It will be affected only when users enable `cloudStream` module in the config file `cloudcore.yaml` and enable `edgeStream` module in the config file `edgecore.yaml`. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. As a workaround, disable cloudStream module in the config file `cloudcore.yaml` and disable edgeStream module in the config file `edgecore.yaml`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubeedge/kubeedge | 1.11.1 | GHSA-wrcr-x4qj-j543 |
| Go | github.com/kubeedge/kubeedge | 1.10.2 | GHSA-wrcr-x4qj-j543 |
| Go | github.com/kubeedge/kubeedge | 1.9.4 | GHSA-wrcr-x4qj-j543 |
| Go | github.com/kubeedge/kubeedge | 1.10.2, 1.11.1, 1.9.4 | GO-2022-0511 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/kubeedge/kubeedge/security/advisories/GHSA-wrcr-x4qj-j543 x_refsource_CONFIRM