KubeEdge: ConfigUpdateJob updateFields enables remote shell injection and code execution on edge nodes
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.21.2, 1.22.2, 1.23.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
KubeEdge is an open source system for extending native containerized application orchestration capabilities to hosts at Edge. From 1.21.0 until 1.21.2, 1.22.2, and 1.23.1, ConfigUpdateJob processing in edge/pkg/taskmanager/actions/configupdatejob.go concatenates authenticated user-controlled updateFields values into the keadm config-update command and executes it through a system shell. A user with permission to create or modify ConfigUpdateJob resources can include shell metacharacters in the complete --set value and cause arbitrary commands to execute on an enrolled target edge node with the privileges of the KubeEdge process handling the job. This issue is fixed in versions 1.21.2, 1.22.2, and 1.23.1.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- kubeedge kubeedge
From 1.21.0 · fixed in 1.21.2; From 1.22.0 · fixed in 1.22.2; From 1.23.0 · fixed in 1.23.1
- github.com/kubeedge/kubeedgeGo
From 1.21.0 · fixed in 1.21.2
- github.com/kubeedge/kubeedgeGo
From 1.22.0 · fixed in 1.22.2
- github.com/kubeedge/kubeedgeGo
From 1.23.0 · fixed in 1.23.1
- github.com/kubeedge/kubeedgeGo
From 1.21.0 · fixed in 1.21.2; From 1.22.0 · fixed in 1.22.2; From 1.23.0 · fixed in 1.23.1