Nuclio
Nuclio: Kaniko build tempDir command injection
Nuclio is a "Serverless" framework for Real-Time Events and Data Processing. From version 1.6.19 to before version 1.17.2, Nuclio's Dashboard build pipeline does not sanitize the spec.build.tempDir field before using it to construct a shell command. When the Kaniko container builder is enabled, a user with function-create permission can inject shell metacharacters into this field and achieve arbitrary command execution inside the Dashboard container, which runs with a Kubernetes service account holding wildcard access to Secrets, Pods, Jobs, and Deployments in its namespace. This issue has been patched in version 1.17.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.6.19, < 1.17.2
Fixed in 1.17.2
Mitigation
Upgrade nuclio to 1.17.2 or later.
References
- Vendor advisory github.com/nuclio/nuclio/security/advisories/G…
- Patch github.com/nuclio/nuclio/pull/4190
- Patch github.com/nuclio/nuclio/commit/e3ed7de65c20c2…
1 more
- Release notes github.com/nuclio/nuclio/releases/tag/1.17.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.