Know every vulnerabilitybefore 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.
GHSA-m3c6-2p7h-cfr3
Description
KubeEdge ConfigUpdateJob processing was vulnerable to command injection on edge nodes.
The updateFields values from a ConfigUpdateJob were concatenated into a command string and executed through a system shell. An authenticated user with sufficient permissions to create or update ConfigUpdateJob resources could include shell metacharacters in the supplied configuration fields and cause unintended commands to be executed on targeted edge nodes.
Impact
Successful exploitation could allow an authenticated attacker to execute arbitrary commands on affected edge nodes with the privileges of the KubeEdge process handling the ConfigUpdateJob.
The attacker must already have permission to create or modify ConfigUpdateJob resources and target an enrolled edge node.
Patches
The fix removes shell-based command construction and invokes keadm config-update using structured command arguments.
The complete --set value is passed as a single literal argument, preventing shell metacharacters from being interpreted as commands.
Fixes are planned for the following maintained releases:
- v1.23.1
- v1.22.2
- v1.21.2
Workarounds
Until a patched release is available:
- restrict RBAC permissions for creating or modifying ConfigUpdateJob resources;
- allow only trusted administrators to submit configuration update jobs;
- avoid using ConfigUpdateJob in environments where its input cannot be fully trusted;
- monitor ConfigUpdateJob resources and edge-node process activity for unexpected commands or changes.
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 own SBOM in CycloneDX 1.6 or higher (JSON) directly here to check your vulnerabilities.
Drag and drop some file here, or click to select
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 confidentiality of the information. There is a high impact on the integrity of the data. There is a high impact on the availability of the system.
Exploitation activity has been observed. Apply available patches or mitigations urgently.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard