iofogctl command injection via Controller provisioning response
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Eclipse Foundation | Eclipse ioFog |
1.0.0 – 3.7.0 ≥ 3.8.0-rc.1, < 3.9.2 |
— 3.9.2 |
Original description The description as published by the source.
In Eclipse ioFog iofogctl versions 1.0.0 through 3.7.0 and 3.8.0-rc.1 through 3.9.1, the provisioning key and CA certificate returned by the Controller API are concatenated into shell commands (edgelet provision and edgelet config cert on supported releases; iofog-agent provision and iofog-agent cert on older releases) that run over SSH on a remote agent host and via a local shell. A party who can change that API response can include shell metacharacters and cause the operator's CLI to run additional commands on the agent host when the operator deploys or attaches an agent. This is fixed in version 3.9.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- web github.com
- web gitlab.eclipse.org
- web gitlab.eclipse.org
- web github.com