feat: [TASK] [Security] Fix Vulnerabilities in Tensorboard Controller (v1.11 Release) PR1 #786
+16
−16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related: #781 (part 1,2)
This commit updates the necessary Go dependencies in the go.mod and go.sum files to patch a critical denial-of-service vulnerability affecting HTTP/2 endpoints.
Vulnerability: HTTP/2 Header Flooding (Resource Consumption DoS)
Component: components/tensorboard-controller
Updated dependencies:
golang.org/x/net → v0.47.0 (Reason: Fixes GHSA-4374-p667-p6c8, GHSA-4v7x-pqxf-cx7m, etc.)
golang.org/x/crypto → v0.45.0 (Reason: Fixes GHSA-v778-237x-gjrc, GHSA-45x7-px36-x8w8, etc.)
Addition updates:
golang.org/x/sys v0.38.0
golang.org/x/term v0.37.0
golang.org/x/text v0.31.0
The changes are contained entirely within the dependency manifest files: go.mod and go.sum.
Verification:
go mod tidy: passed
make build and make docker-build: passed
tensorboard controller workflows (the successful compilation and build of the Tensorboard Controller with these updated dependencies confirms that the fix has been successfully integrated) passed
notebooks-v1 deployment + volume and tensorboard creation(for testing) - passed
Trivy checks:
Report Summary
┌────────┬───────┬─────────────────┬─────────┐
│ Target │ Type │ Vulnerabilities │ Secrets │
├────────┼───────┼─────────────────┼─────────┤
│ go.mod │ gomod │ 3 │ - │
└────────┴───────┴─────────────────┴─────────┘