Nuclio
Nuclio: Unauthenticated OS command injection via namespace header in list-all resource path on local platform
Nuclio is a "Serverless" framework for Real-Time Events and Data Processing. Prior to version 1.17.4, the fix for unauthenticated OS command injection in the nuclio dashboard on the local/Docker platform is incomplete. The fix added validateFunctionName for function names and common.Quote() for the named-resource shell command path, but the list-all resource path (triggered when no specific resource name is provided) still interpolates the resourceNamespace parameter unquoted into a /bin/sh -c command string. An unauthenticated attacker can inject shell metacharacters via the X-Nuclio-Function-Namespace, X-Nuclio-Project-Namespace, or X-Nuclio-Function-Event-Namespace HTTP headers to achieve arbitrary command execution inside the dashboard container. This issue has been patched in version 1.17.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.17.4
Fixed in 1.17.4
Mitigation
Upgrade nuclio to 1.17.4 or later.
References
- Vendor advisory github.com/nuclio/nuclio/security/advisories/G…
- Patch github.com/nuclio/nuclio/pull/4223
- Patch github.com/nuclio/nuclio/commit/86d4e39387d884…
1 more
- Release notes github.com/nuclio/nuclio/releases/tag/1.17.4
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.