Skip to content

Upgrade node image to fix Critical Vulnerabilities, also fix schema failures #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2025

Conversation

kkambhat
Copy link
Owner

Description: This PR is to fix errors like below

Failed to start the MCP server. {"command":"docker run -i --rm -v /Users/kkambhat/.kube/config:/root/.kube/config mcp/k8s","args":[],"error":"Invalid schema for tool kubectl_get: strict mode: unknown keyword: \"optional\"","stderr":"Starting Kubernetes MCP server v0.1.0, handling commands...\n"}

and also update the node image to ensure there are no Critical CVEs -
node:22-bookworm-slim has severe vulnerabilities: https://hub.docker.com/layers/library/node/22-bookworm-slim/images/sha256-847a2a79a5190cae14a0617cfae5b61abea3f8bf0d914cd3cdf4bebfebd53803

All of these are fixed in node:24.2.0-slim
https://hub.docker.com/layers/library/node/24.2.0-slim/images/sha256-678bc2f5eae9131a3709bf1873609a65242b7156270c7b15f9c4e3a7b58caec9

@kkambhat kkambhat merged commit 26b5e6a into main Jun 14, 2025
@kkambhat kkambhat deleted the critical-update branch June 14, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant