Open-Source Security Intelligence

Know every vulnerability
before it knows you.

DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.

Search

GHSA-gfw4-49f9-cp25

MediumCVSS 6.5 / 10
Published Sep 22, 2026·Last modified Sep 22, 2026
Affected Components(3)
Go logogithub.com/kubeedge/kubeedge
1.22.0 – 1.22.2
Go logogithub.com/kubeedge/kubeedge
1.23.0 – 1.23.1
Go logogithub.com/kubeedge/kubeedge
1.0.0 – 1.21.2
Description

Summary

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

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

Impact

A successfully authenticated malicious or compromised edge node may repeatedly send crafted viaduct message headers to increase CloudHub memory consumption.

Depending on available memory and deployment limits, exploitation may cause:

  • Increased CloudHub memory usage
  • Out-of-memory termination
  • CloudHub restart loops
  • Temporary disruption of cloud-edge communication

Authentication to the viaduct endpoint is required. This issue does not provide unauthenticated access or direct code execution.

Root cause

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

Fix

The fix introduces a maximum viaduct payload size of 32 MiB.

The updated implementation:

  • Rejects oversized payload lengths in the reader before memory allocation
  • Enforces the same maximum size in the writer
  • Adds regression tests covering oversized and valid payloads

Fixes have been prepared for the following patch releases:

  • KubeEdge v1.23.1
  • KubeEdge v1.22.2
  • KubeEdge v1.21.2

These versions should not be listed as released until the coordinated release process is complete.

Workarounds

Before patched versions are available, operators should:

  • Restrict access to the CloudHub endpoint to trusted edge nodes and networks
  • Protect and rotate edge-node credentials
  • Revoke credentials belonging to decommissioned or potentially compromised nodes
  • Apply memory limits and restart policies to the CloudHub workload
  • Monitor CloudHub memory consumption and unexpected connection activity

Affected component

  • pkg/viaduct/pkg/packer
  • CloudHub viaduct message-processing path

Credits

KubeEdge thanks Sang-Hoon Choi (KoreaSecurity, Sejong University) for responsibly reporting this issue and for coordinating with the KubeEdge maintainers through the security disclosure process.

Upload your SBOM

Upload your own SBOM in CycloneDX 1.6 or higher (JSON) directly here to check your vulnerabilities.

Risk Scores
Base Score
6.5

The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker needs basic access or low-level privileges. No user interaction is needed for the attacker to exploit this vulnerability. The impact is confined to the system where the vulnerability exists. There is a high impact on the availability of the system.

Threat Intelligence
6.0

Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.

EPSS
0.50%

The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.

Exploit
Not available

We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.

Browse More

Scan your project

Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.

Checkout DevGuard