OpenChoreo: Authenticated OS command injection via OpenChoreo Workflow Plane templates enables code execution in privileged pods
openchoreo
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/openchoreo/openchoreo Go |
|
|
openchoreo
| Product | Affected | Fixed in |
|---|---|---|
| github.com/openchoreo/openchoreo Go |
|
|
OpenChoreo is a complete, open-source developer platform for Kubernetes. Prior to 1.0.4, 1.1.4, and 1.2.0-rc.2, OpenChoreo Workflow Plane templates under samples/getting-started/workflow-templates/ interpolated developer-controlled workflow parameters into shell program text executed through sh -c instead of passing the values through container.env, allowing arbitrary commands to run in workflow pods while affected privileged Podman templates lacked hostUsers: false. This issue is fixed in versions 1.0.4, 1.1.4, and 1.2.0-rc.2.
From the CVE record · GitHub_M
Affected OpenChoreo Workflow Plane templates insert developer-controlled parameters into shell commands executed through `sh -c`, allowing arbitrary commands to run in workflow pods. The affected privileged Podman templates also lack `hostUsers: false`. The input does not specify whether authentication or additional user interaction is required.
Teams running Go package github.com/openchoreo/openchoreo in versions before 1.0.4, from 1.1.0 to before 1.1.4, or from 1.2.0-rc.1 to before 1.2.0-rc.2 should check their deployments.