Skip to content

SCCM-1815: Reduce dashboard and server vulnerabilities with safe dependency and build fixes#116

Open
Riyasoni0 wants to merge 2 commits into
datastax:masterfrom
Riyasoni0:Fixing-vulnerabilities-for-npm-and-node
Open

SCCM-1815: Reduce dashboard and server vulnerabilities with safe dependency and build fixes#116
Riyasoni0 wants to merge 2 commits into
datastax:masterfrom
Riyasoni0:Fixing-vulnerabilities-for-npm-and-node

Conversation

@Riyasoni0
Copy link
Copy Markdown
Contributor

So far, the fixes addressed vulnerabilities in both the backend and dashboard dependency trees.

In server/package.json, vulnerable packages like axios, body-parser, cookie-session, and http-proxy-middleware were upgraded to patched versions. This was required because Snyk was reporting critical/high issues such as prototype pollution, SSRF, HTTP response splitting, DoS, and unsafe request handling.

The biggest backend fix was removing kubernetes-client and moving to @kubernetes/client-node, with matching changes in server/k8s.js. This was required because the old Kubernetes client pulled in an outdated dependency chain with unpatched vulnerabilities like request, form-data, jsonpath-plus, tough-cookie, and uuid.

In dashboard/package.json, vulnerable frontend packages like axios, lodash, sass, and vuex-persist were upgraded. This was required to remove issues such as prototype pollution, recursion bugs, and vulnerable transitive dependencies.

Additional overrides were added in server/package.json and dashboard/package.json so transitive vulnerable packages like ajv, picomatch, underscore, form-data, and tough-cookie resolve to safer versions without broad app rewrites.

@Riyasoni0 Riyasoni0 force-pushed the Fixing-vulnerabilities-for-npm-and-node branch from 9640a17 to aa98699 Compare May 13, 2026 08:43
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