MLE-30362: Operator contains a new vulnerable package (BDSA-2026-11626)#171
Merged
Merged
Conversation
Co-authored-by: Vitaly Korolev <vitaly.korolev@marklogic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Go module dependencies to remediate a reported vulnerable package (BDSA-2026-11626) by bumping several golang.org/x/* indirect dependencies in the operator’s Go module files.
Changes:
- Bumped
golang.org/x/mod,golang.org/x/net,golang.org/x/sync,golang.org/x/sys,golang.org/x/term,golang.org/x/text, andgolang.org/x/toolsto newer patch/minor versions ingo.mod. - Updated
go.sumchecksums to match the new module versions (and removed references to the prior versions).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Upgrades golang.org/x/* indirect dependencies to newer versions to address the vulnerability. |
| go.sum | Refreshes module checksums to reflect the upgraded dependency versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rwinieski
previously approved these changes
Jun 16, 2026
rwinieski
left a comment
Collaborator
There was a problem hiding this comment.
@vitalykorolev , @pengzhouml please we have to merge this PR to get Jenkins in green state.
sumanthravipati
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Upgraded the vulnerable package identified in BDSA-2026-11626 to resolve security issues. Also addressed pre-existing golangci-lint issues within pkg/mlmanage/client.go to improve code quality and compliance with linting standards.
Root cause
The operator included a package with a known security vulnerability (BDSA-2026-11626).
Fix
Upgraded the vulnerable package and made custom lint fixes in pkg/mlmanage/client.go.
Validation
Build: pass
Unit Tests (35 specs): pass
Kustomize: pass
Golangci-lint: pass for pkg/mlmanage/client.go (unrelated pre-existing lint issues persist in pkg/k8sutil/)