Skip to content
Heist/ feed
Back to feed
Medium

KubeEdge CloudCore Router memory exhaustion

Type: advisorySources: OSV

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`.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31078
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:42 UTC · Revision 1

Source evidence

KubeEdge CloudCore Router memory exhaustion

core-osv · Original source

Published 11 Jul 2022, 20:25 UTC

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`.

osv:CVE-2022-31078
Complete source record
{
  "id": "2ed75b083ac2842cde2c75db79a5ee9af194eca6663359726c151393a1ff9f8c",
  "url": "https://osv.dev/vulnerability/CVE-2022-31078",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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`.",
    "evidence": "osv:CVE-2022-31078",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-31078",
      "aliases": [
        "CVE-2022-31078",
        "GHSA-qpx3-9565-5xwm",
        "GO-2022-0510"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/kubeedge/kubeedge",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ecca82fd5d0b0891dbd562f4d4349443d958b9df"
                },
                {
                  "introduced": "3803951602f938d9d90d74957eb0fbc238142101"
                },
                {
                  "fixed": "27a6957ee7685884a7d9b3d87c13f61625cb3bc9"
                },
                {
                  "introduced": "24b146e19e8b8d9171851673ff60162711ac71c9"
                },
                {
                  "fixed": "6ccb68fae799d210d9f304df9cba210c492432a7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:kubeedge:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.9.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:kubeedge:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.10.0"
                      },
                      {
                        "fixed": "1.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:kubeedge:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.11.0"
                      },
                      {
                        "fixed": "1.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "= 1.11.0",
            "v1.10.1",
            "v1.9.3",
            "v1.11.0",
            "v1.9.2",
            "v1.10.0",
            "v1.9.1",
            "v1.9.0-beta.0",
            "v1.9.0",
            "v1.8.0-beta.0",
            "v1.7.0-beta.0",
            "v1.7.0",
            "v1.6.0-beta.0",
            "v1.5.0-beta.0",
            "v1.4.0-beta.0",
            "v1.4.0-alpha.0",
            "v1.3.0",
            "v1.3.0-beta.0",
            "v1.3.0-alpha.0",
            "v1.2.0-beta.0",
            "v1.1.0-beta.0",
            "v1.0.0",
            "v0.3.0-beta.0",
            "v0.2.1",
            "v0.2",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31078.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.213862804Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31078.json",
        "https://github.com/kubeedge/kubeedge/security/advisories/GHSA-qpx3-9565-5xwm",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31078"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31078.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31078",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492793,
  "published_at": "2022-07-11T20:25:09+00:00"
}