{"id":"CVE-2022-31078","aliases":["CVE-2022-31078","GHSA-qpx3-9565-5xwm","GO-2022-0510"],"related":[],"kind":"vulnerability","state":"published","title":"KubeEdge CloudCore Router memory exhaustion","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, the CloudCore Router does not impose a limit on the size of responses to requests made by the REST handler. An attacker could use this weakness to make a request that will return an HTTP response with a large body and cause DoS of CloudCore. In the HTTP Handler API, the rest handler makes a request to a pre-specified handle. The handle will return an HTTP response that is then read into memory. The consequence of the exhaustion is that CloudCore will be in a denial of service. Only an authenticated user of the cloud can make an attack. It will be affected only when users enable `router` module in the config file `cloudcore.yaml`. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. As a workaround, disable the router switch in the config file `cloudcore.yaml`.","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, the CloudCore Router does not impose a limit on the size of responses to requests made by the REST handler. An attacker could use this weakness to make a request that will return an HTTP response with a large body and cause DoS of CloudCore. In the HTTP Handler API, the rest handler makes a request to a pre-specified handle. The handle will return an HTTP response that is then read into memory. The consequence of the exhaustion is that CloudCore will be in a denial of service. Only an authenticated user of the cloud can make an attack. It will be affected only when users enable `router` module in the config file `cloudcore.yaml`. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. As a workaround, disable the router switch in the config file `cloudcore.yaml`.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe CloudCore Router does not impose a limit on the size of responses to requests made by the REST handler. An attacker could use this weakness to make a request that will return an HTTP response with a large body and cause DoS of CloudCore. In the HTTP Handler API, the rest handler makes a request to a pre-specified handle. The handle will return an HTTP response that is then read into memory. The consequence of the exhaustion is that CloudCore will be in a denial of service.\nOnly an authenticated user of the cloud can make an attack. It will be affected only when users enable `router` module in the config file `cloudcore.yaml` as below.\n```\nmodules:\n  ...\n  router:\n    enable: true\n```\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\nDisable the router module in the config file `cloudcore.yaml`.\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":"KubeEdge CloudCore Router memory exhaustion vulnerability 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, el enrutador CloudCore no impone un límite al tamaño de las respuestas a las peticiones realizadas por el manejador REST. Un atacante podría usar esta debilidad para hacer una petición que devuelva una respuesta HTTP con un cuerpo grande y causar DoS de CloudCore. En la API del manejador HTTP, el manejador de descanso hace una petición a un manejador preestablecido. El manejador devolverá una respuesta HTTP que luego es leída en la memoria. La consecuencia del agotamiento es que CloudCore será encontrado en una situación de denegación de servicio. Sólo un usuario autenticado de la nube puede realizar un ataque. Sólo está afectado cuando los usuarios habiliten el módulo \"router\" en el archivo de configuración \"cloudcore.yaml\". Este error ha sido corregido en Kubeedge versiones 1.11.1, 1.10.2 y 1.9.4. Como mitigación, deshabilite el interruptor del enrutador en el archivo de configuración \"cloudcore.yaml\"","source":"nvd"}],"published":"2022-07-11T20:25:09.000Z","modified":"2026-06-17T04:44:44.967Z","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:M/Au:S/C:N/I:N/A:P","score":3.5,"rating":"LOW"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 1.9.4","status":"affected"},{"version":">= 1.10.0, < 1.10.2","status":"affected"},{"version":"= 1.11.0","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-qpx3-9565-5xwm","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-31078","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/kubeedge/kubeedge","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T14:03:35.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31078","url":"https://www.cve.org/CVERecord?id=CVE-2022-31078","licence":"CVE Terms of Use","modified":"2025-04-23T18:03:32.198Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qpx3-9565-5xwm","url":"https://github.com/advisories/GHSA-qpx3-9565-5xwm","licence":"CC-BY-4.0","modified":"2024-08-21T15:26:46.659Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0510","url":"https://pkg.go.dev/vuln/GO-2022-0510","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:27.649Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31078","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31078","licence":"Public domain","modified":"2026-06-17T04:44:44.967Z"}],"updatedAt":"2026-11-25T22:58:12.810Z","epss":{"score":0.00731,"percentile":0.55533,"date":"2026-12-01T12:00:22.000Z"}}