Vulnerability · Published Jul 11, 2022 · Assigned by GitHub_M
CVE-2022-31080KubeEdge Websocket Client in package Viaduct: DoS from large response 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 54% 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, a large response received by the viaduct WSClient can cause a DoS from memory exhaustion. The entire body of the response is being read into memory which could allow an attacker to send a request that returns a response with a large body. The consequence of the exhaustion is that the process which invokes a WSClient will be in a denial of service. The software is affected If users who are authenticated to the edge side connect to `cloudhub` from the edge side through WebSocket protocol. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. There are currently no known workarounds.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubeedge/kubeedge | 1.11.1 | GHSA-6wvc-6pww-qr4r |
| Go | github.com/kubeedge/kubeedge | 1.10.2 | GHSA-6wvc-6pww-qr4r |
| Go | github.com/kubeedge/kubeedge | 1.9.4 | GHSA-6wvc-6pww-qr4r |
| Go | github.com/kubeedge/kubeedge | 1.10.2, 1.11.1, 1.9.4 | GO-2022-0512 |
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-6wvc-6pww-qr4r x_refsource_CONFIRM