4.4medium
KubeEdge Websocket Client in package Viaduct: DoS from large response message
- Severity
- 4.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.75% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-6wvc-6pww-qr4rGO-2022-0512
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
| Product or package | Versions | Reported by |
|---|---|---|
| kubeedge kubeedge | = 1.11.0, >= 1.10.0, < 1.10.2, < 1.9.4 | CVE List |
| github.com/kubeedge/kubeedge (Go) | from 1.11.0 before 1.11.1, from 1.10.0 before 1.10.2, before 1.9.4 | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation kubeedge | before 1.9.4, from 1.10.0 before 1.10.2, from 1.11.0 before 1.11.1 | NVD |
All scores
| GitHub_M | 4.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 4.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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. It will be affected If users which are authenticated to the edge side and connect from the edge side to cloudhub through WebSocket protocol.
Patches
This bug has been fixed in Kubeedge 1.11.1, 1.10.2, 1.9.4. Users should update to these versions to resolve the issue.
Workarounds
At the time of writing, no workaround exists.
References
NA
Credits
Thanks David Korczynski and Adam Korczynski of ADA Logics for responsibly disclosing this issue in accordance with the kubeedge security policy during a security audit sponsored by CNCF and facilitated by OSTIF.
For more information
If you have any questions or comments about this advisory:
- Open an issue in KubeEdge repo
- To make a vulnerability report, email your vulnerability to the private cncf-kubeedge-security@lists.cncf.io list with the security details and the details expected for KubeEdge bug reports.
Go Vulnerability Database
DoS in KubeEdge's Websocket Client in package Viaduct in github.com/kubeedge/kubeedge
NVD (es)
KubeEdge es un sistema de código abierto para extender las capacidades de orquestación de aplicaciones nativas en contenedores a los hosts en Edge. En versiones anteriores a 1.11.1, 1.10.2 y 1.9.4, una respuesta grande recibida por el WSClient de viaducto puede causar un DoS por agotamiento de memoria. Todo el cuerpo de la respuesta esta siendo leído en la memoria, lo que podría permitir a un atacante enviar una petición que devuelva una respuesta con un cuerpo grande. La consecuencia del agotamiento es que el proceso que invoca un WSClient estará en una denegación de servicio. El software está afectado si los usuarios que están autenticados en el lado del borde son conectados a "cloudhub" desde el lado del borde mediante el protocolo WebSocket. Este error ha sido corregido en Kubeedge versiones 1.11.1, 1.10.2 y 1.9.4. Actualmente no se presentan mitigaciones adicionales conocidas
References
| https://github.com/kubeedge/kubeedge/security/advisories/GHSA-6wvc-6pww-qr4r | advisory, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31080 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31080 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6wvc-6pww-qr4r changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0512 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-31080 changed 2026-06-17 | Public domain |