{"id":"CVE-2022-31080","aliases":["CVE-2022-31080","GHSA-6wvc-6pww-qr4r","GO-2022-0512"],"related":[],"kind":"vulnerability","state":"published","title":"KubeEdge Websocket Client in package Viaduct: DoS from large response message","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\nThe 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.\n\n### Patches\nThis 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.\n\n### Workarounds\nAt the time of writing, no workaround exists.\n\n### References\nNA\n\n### Credits\nThanks David Korczynski and Adam Korczynski of ADA Logics for responsibly disclosing this issue in accordance with the [kubeedge security policy](https://github.com/kubeedge/kubeedge/security/policy) during a security audit sponsored by CNCF and facilitated by OSTIF.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [KubeEdge repo](https://github.com/kubeedge/kubeedge/issues/new/choose)\n* To make a vulnerability report, email your vulnerability to the private [cncf-kubeedge-security@lists.cncf.io](mailto:cncf-kubeedge-security@lists.cncf.io) list with the security details and the details expected for [KubeEdge bug reports](https://github.com/kubeedge/kubeedge/blob/master/.github/ISSUE_TEMPLATE/bug-report.md).","format":"markdown","source":"ghsa"},{"lang":"en","text":"DoS in KubeEdge's Websocket Client in package Viaduct in github.com/kubeedge/kubeedge","format":"markdown","source":"go"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-07-11T20:55:09.000Z","modified":"2026-06-17T04:44:45.223Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"= 1.11.0","status":"affected"},{"version":">= 1.10.0, < 1.10.2","status":"affected"},{"version":"< 1.9.4","status":"affected"}],"vendor":"kubeedge","product":"kubeedge","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.11.0","status":"affected","fixed":"1.11.1"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.2"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.4"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.4"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.2"},{"type":"semver","introduced":"1.11.0","status":"affected","fixed":"1.11.1"}],"ecosystem":"Go","package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"go"},{"ranges":[{"status":"affected","fixed":"1.9.4"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"},{"status":"affected","introduced":"1.11.0","fixed":"1.11.1"}],"vendor":"linuxfoundation","product":"kubeedge","cpe":"cpe:2.3:a:linuxfoundation:kubeedge:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kubeedge/kubeedge/security/advisories/GHSA-6wvc-6pww-qr4r","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31080","tags":["advisory"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T14:03:30.233Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31080","url":"https://www.cve.org/CVERecord?id=CVE-2022-31080","licence":"CVE Terms of Use","modified":"2025-04-23T18:03:19.067Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6wvc-6pww-qr4r","url":"https://github.com/advisories/GHSA-6wvc-6pww-qr4r","licence":"CC-BY-4.0","modified":"2024-08-21T15:41:42.873Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0512","url":"https://pkg.go.dev/vuln/GO-2022-0512","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:30.040Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31080","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31080","licence":"Public domain","modified":"2026-06-17T04:44:45.223Z"}],"updatedAt":"2026-11-25T22:58:12.811Z","epss":{"score":0.00753,"percentile":0.56264,"date":"2026-12-01T12:00:22.000Z"}}