{"answers":{"affected":"7 open source packages ship an affected version, including github.com/kubeedge/kubeedge. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31079 in the wild and no public exploit code.","fix":"Upgrade github.com/kubeedge/kubeedge to a fixed version for your release line: 1.9.4, 1.10.2 or 1.11.1.","what":"CVE-2022-31079 is a medium-severity denial of service vulnerability in kubeedge, published on 11 Jul 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31079 and fix it if it is affected.\n\nWhat it is: CVE-2022-31079 is a medium-severity denial of service vulnerability in kubeedge, published on 11 Jul 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31079 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kubeedge/kubeedge (Go): affected all versions; fixed in 1.9.4, 1.10.2, 1.11.1\n- github.com/kubeedge/kubeedge (Go): affected all versions; fixed in 1.9.4\n- github.com/kubeedge/kubeedge (Go): affected all versions; fixed in 1.9.4\n- github.com/kubeedge/kubeedge (Go): affected from 1.10.0; fixed in 1.10.2\n- github.com/kubeedge/kubeedge (Go): affected from 1.10.0; fixed in 1.10.2\n- github.com/kubeedge/kubeedge (Go): affected from 1.11.0; fixed in 1.11.1\n- github.com/kubeedge/kubeedge (Go): affected from 1.11.0; fixed in 1.11.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-31079/ (Markdown: https://insights.sbomify.com/CVE-2022-31079/index.md)","id":"CVE-2022-31079","markdown":"https://insights.sbomify.com/CVE-2022-31079/index.md","name":"CVE-2022-31079","record":{"aliases":["GHSA-wrcr-x4qj-j543","GO-2022-0511"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"KubeEdge edge computing","requires_auth":"high_privilege","summary":"Authenticated attackers can cause denial of service in KubeEdge Cloud and Edge Stream servers by sending large messages, requiring specific module enablement.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kubeedge","vendor":"linuxfoundation"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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 Cloud Stream server and the Edge Stream server reads the entire message into memory without imposing a limit on the size of this message. An attacker can exploit this by sending a large message to exhaust memory and cause a DoS. The Cloud Stream server and the Edge Stream server are under DoS attack in this case. The consequence of the exhaustion is that the CloudCore and EdgeCore will be in a denial of service. Only an authenticated user can cause this issue. It will be affected only when users enable `cloudStream` module in the config file `cloudcore.yaml` and enable `edgeStream` module in the config file `edgecore.yaml`. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. As a workaround, disable cloudStream module in the config file `cloudcore.yaml` and disable edgeStream module in the config file `edgecore.yaml`.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"KubeEdge Cloud Stream and Edge Stream DoS from large stream message","id":"CVE-2022-31079","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":7,"n_references":1,"next":{"headline":"KubeEdge Websocket Client in package Viaduct: DoS from large response message","id":"CVE-2022-31080"},"packages":[{"ecosystem":"Go","fixed":["1.9.4","1.10.2","1.11.1"],"introduced":["0","1.10.0","1.11.0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"GO-2022-0511"},{"ecosystem":"Go","fixed":["1.9.4"],"introduced":["0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":null,"source":"GHSA-wrcr-x4qj-j543"},{"ecosystem":"Go","fixed":["1.9.4"],"introduced":["0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"GHSA-wrcr-x4qj-j543"},{"ecosystem":"Go","fixed":["1.10.2"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":null,"source":"GHSA-wrcr-x4qj-j543"},{"ecosystem":"Go","fixed":["1.10.2"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"GHSA-wrcr-x4qj-j543"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":null,"source":"GHSA-wrcr-x4qj-j543"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/kubeedge/kubeedge","purl":"pkg:golang/github.com/kubeedge/kubeedge","source":"GHSA-wrcr-x4qj-j543"}],"prev":{"headline":"KubeEdge CloudCore Router memory exhaustion","id":"CVE-2022-31078"},"products":["kubeedge"],"published":"2022-07-11","related":[{"cvss_score":6.5,"headline":"KubeEdge Edge ServiceBus module DoS","id":"CVE-2022-31073","kev_date_added":null,"published":"2022-07-11"},{"cvss_score":4.9,"headline":"KubeEdge DoS when signing the CSR from EdgeCore","id":"CVE-2022-31075","kev_date_added":null,"published":"2022-07-11"},{"cvss_score":4.5,"headline":"KubeEdge Cloud AdmissionController component DoS","id":"CVE-2022-31074","kev_date_added":null,"published":"2022-07-11"},{"cvss_score":4.4,"headline":"KubeEdge CloudCore Router memory exhaustion","id":"CVE-2022-31078","kev_date_added":null,"published":"2022-07-11"},{"cvss_score":4.4,"headline":"KubeEdge Websocket Client in package Viaduct: DoS from large response message","id":"CVE-2022-31080","kev_date_added":null,"published":"2022-07-11"},{"cvss_score":4.2,"headline":"Malicious Message can crash CloudCore in KubeEdge","id":"CVE-2022-31076","kev_date_added":null,"published":"2022-06-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["kubeedge"]},"summary":"Authenticated attackers can cause denial of service in KubeEdge Cloud and Edge Stream servers by sending large messages, requiring specific module enablement.","url":"https://insights.sbomify.com/CVE-2022-31079/"}