{"schemaVersion":3,"id":"CVE-2022-31078","aliases":["GHSA-qpx3-9565-5xwm","GO-2022-0510"],"status":"published","duplicateOf":null,"title":null,"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, 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`.","dates":{"published":"2022-07-11T20:25:09.000Z","modified":"2025-04-23T18:03:32.198Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":1.8,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00703,"percentile":0.5246,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.019999999999999966,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00683},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00703,"percentile":0.5246}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00683,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00703,"percentile":0.5246}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"github.com/kubeedge","product":"kubeedge","name":"github.com/kubeedge/kubeedge","label":"kubeedge","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/kubeedge/kubeedge","purlType":"golang","versions":[{"text":"≥ 1.10.0, < 1.10.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.11.0, < 1.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, < 1.10.2 | < 1.9.4 | ≥ 1.11.0, < 1.11.1","eol":null,"hubHref":null},{"vendor":"kubeedge","product":"kubeedge","name":"kubeedge","label":"kubeedge","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.9.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.10.0, < 1.10.2","noFixRecorded":false,"fixedIn":null},{"text":"= 1.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.4 | ≥ 1.10.0, < 1.10.2 | = 1.11.0","eol":null,"hubHref":"/vendor/kubeedge/kubeedge"},{"vendor":"linuxfoundation","product":"kubeedge","name":"kubeedge","label":"kubeedge","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.9.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.10.0, < 1.10.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.11.0, < 1.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.4 | ≥ 1.10.0, < 1.10.2 | ≥ 1.11.0, < 1.11.1","eol":null,"hubHref":"/vendor/linuxfoundation/kubeedge"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/kubeedge/kubeedge/security/advisories/GHSA-qpx3-9565-5xwm","label":"github.com/kubeedge/kubeedge/security/advisories/GHSA-qpx3-9565-5xwm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31078","label":"nvd.nist.gov/vuln/detail/CVE-2022-31078","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/kubeedge/kubeedge","label":"github.com/kubeedge/kubeedge","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-07-11T20:25:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:03:32.198Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:26:31.600Z","stale":false,"partial":false}}