You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: validate-cks-node merges missing package names into one string on Debian/Ubuntu #14755
validate-cks-node (kubernetes-service plugin) checks a node for required packages before it is added to a CKS cluster. On Debian/Ubuntu it collects the missing ones with:
MISSING_PACKAGES+="$package"
On an array, this appends to the string in element 0. It does not add an element.
Effect
Detail
Count
always 1, however many are missing
Message
names run together, e.g. cloud-guest-utilsapt-transport-httpscurl...
Exit status
still 1, so the node is rejected, but the log does not say what to install
The RPM branch uses a different append and is not affected.
Reproduce
Run the script logic with dpkg stubbed so that only some packages are "installed":
1
Following packages are missing in the node template: cloud-guest-utilsapt-transport-httpscurlgnupg-agentsoftware-properties-commonpython3-json-pointerpython3-jsonschema
Expected
Each missing package is an array element: the count is correct and the names are separated by spaces.
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
validate-cks-node appends missing Debian/Ubuntu package names with MISSING_PACKAGES+="$package". On a bash array that appends to element 0, so the count is always 1 and the names run together. The node is still rejected, but the log does not say which packages to install. The RPM branch is not affected.
📊 Assessment
Dimension
Value
Reasoning
Type
type:bug
Array misuse produces a wrong count and message
Component
component:cks
validate-cks-node in the Kubernetes service plugin
Severity
Severity:Minor
Node is rejected correctly; only the message is wrong
Labels
type:bug, component:cks, Severity:Minor
Based on the issue text and reproduction
Coding agent
Suitable
Small, self-contained fix: append as an array element and print with spaces
Activity
github-actions commentedon Nov 24, 2026
Warning
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
🎯 Triage report
validate-cks-nodeappends missing Debian/Ubuntu package names withMISSING_PACKAGES+="$package". On a bash array that appends to element 0, so the count is always 1 and the names run together. The node is still rejected, but the log does not say which packages to install. The RPM branch is not affected.📊 Assessment
validate-cks-nodein the Kubernetes service plugin🔗 Similar issues
validate-cks-nodedoes not checknet.ipv4.ip_forward; same script💡 Notes and suggestions
dpkgso that only some packages are installed, then run the check logic.Add this agentic workflow to your repo
To install this agentic workflow, run