{"id":"GHSA-gfw4-49f9-cp25","revision":"22177adac73d4e14adeacb77f8a16388","records":[{"revision":"22177adac73d4e14adeacb77f8a16388","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-gfw4-49f9-cp25","aliases":["CVE-2026-62370","GO-2026-6569"],"title":"KubeEdge: Unbounded allocation in viaduct packer enables authenticated remote DoS against CloudHub","description":"## Summary\n\nKubeEdge CloudHub uses the viaduct packer to decode messages received from connected peers. The packer reads a 32-bit payload length from the message header and previously allocated a buffer of that size without enforcing an upper bound.\n\nAn authenticated peer that can establish a viaduct connection to CloudHub can send a crafted message header containing an excessively large payload length. This may cause CloudHub to allocate a large amount of memory and can result in memory exhaustion, process termination, or denial of service.\n\n## Impact\n\nA successfully authenticated malicious or compromised edge node may repeatedly send crafted viaduct message headers to increase CloudHub memory consumption.\n\nDepending on available memory and deployment limits, exploitation may cause:\n\n* Increased CloudHub memory usage\n* Out-of-memory termination\n* CloudHub restart loops\n* Temporary disruption of cloud-edge communication\n\nAuthentication to the viaduct endpoint is required. This issue does not provide unauthenticated access or direct code execution.\n\n## Root cause\n\nThe viaduct packer trusted the payload length encoded in the message header and allocated the payload buffer before validating whether the declared length was within an acceptable range.\n\n## Fix\n\nThe fix introduces a maximum viaduct payload size of 32 MiB.\n\nThe updated implementation:\n\n* Rejects oversized payload lengths in the reader before memory allocation\n* Enforces the same maximum size in the writer\n* Adds regression tests covering oversized and valid payloads\n\nFixes have been prepared for the following patch releases:\n\n* KubeEdge v1.23.1\n* KubeEdge v1.22.2\n* KubeEdge v1.21.2\n\nThese versions should not be listed as released until the coordinated release process is complete.\n\n## Workarounds\n\nBefore patched versions are available, operators should:\n\n* Restrict access to the CloudHub endpoint to trusted edge nodes and networks\n* Protect and rotate edge-node credentials\n* Revoke credentials belonging to decommissioned or potentially compromised nodes\n* Apply memory limits and restart policies to the CloudHub workload\n* Monitor CloudHub memory consumption and unexpected connection activity\n\n## Affected component\n\n* `pkg/viaduct/pkg/packer`\n* CloudHub viaduct message-processing path\n\n## Credits\n\nKubeEdge thanks Sang-Hoon Choi ([KoreaSecurity](https://github.com/KoreaSecurity), Sejong University)\nfor responsibly reporting this issue and for coordinating with the KubeEdge\nmaintainers through the security disclosure process.","state":0,"publishedAt":"2026-09-22T20:37:01+00:00","modifiedAt":"2026-10-01T20:56:04.7935052+00:00","affected":[{"ecosystem":"Go","name":"github.com/kubeedge/kubeedge","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"1.21.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/kubeedge/kubeedge","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.22.0"},{"kind":"fixed","version":"1.22.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/kubeedge/kubeedge","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.23.0"},{"kind":"fixed","version":"1.23.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/kubeedge/kubeedge/security/advisories/GHSA-gfw4-49f9-cp25","https://nvd.nist.gov/vuln/detail/CVE-2026-62370","https://github.com/kubeedge/kubeedge/pull/7028","https://github.com/kubeedge/kubeedge/pull/7029","https://github.com/kubeedge/kubeedge/pull/7030","https://github.com/kubeedge/kubeedge/commit/0fe1ea18e5d7fde29633286ddf1c7e71cb39606f","https://github.com/kubeedge/kubeedge/commit/725a73ca35a65d91aa6338e52b8faaab6058f528","https://github.com/kubeedge/kubeedge/commit/cc79621943fff9d3f62638d9403ef0cfeda3d0e7","https://github.com/kubeedge/kubeedge","https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md","https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.22.md","https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.23.md","https://github.com/kubeedge/kubeedge/releases/tag/v1.21.2","https://github.com/kubeedge/kubeedge/releases/tag/v1.22.2","https://github.com/kubeedge/kubeedge/releases/tag/v1.23.1"],"sourceUrl":"https://github.com/advisories/GHSA-gfw4-49f9-cp25","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gfw4-49f9-cp25","identifiers":["GHSA-gfw4-49f9-cp25","CVE-2026-62370","GO-2026-6569"]},"retained":false,"historicalAffected":[]}],"coverage":[]}