CVE-2022-31080: DoS in KubeEdge's Websocket Client in package Viaduct
4.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.18911%
CWE
Published
7/11/2022
Updated
7/24/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/kubeedge/kubeedge | go | >= 1.11.0, < 1.11.1 | 1.11.1 |
| github.com/kubeedge/kubeedge | go | >= 1.10.0, < 1.10.2 | 1.10.2 |
| github.com/kubeedge/kubeedge | go | < 1.9.4 | 1.9.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unbounded response body reads using io.ReadAll across multiple components. The patches consistently replace these with io.LimitReader constrained by MaxRespBodyLength (1MB). Key vulnerable functions are those directly processing HTTP/WebSocket responses in cloud components (router, admission controller), edge components (certificate management, service bus), and core streaming functionality. These functions would appear in profilers when handling large malicious responses due to their direct involvement in response body processing without size limits prior to patching.