MLE-29163: Upgrade Go packages to resolve security vulnerabilities#340
Merged
Merged
Conversation
- go.opentelemetry.io/otel (and related packages) v1.35.0 -> v1.43.0 Fixes CVE-2026-24051, CVE-2026-39882, CVE-2026-39883 - github.com/imroc/req/v3 v3.50.0 -> v3.57.0 Pulls quic-go v0.57.1; fixes CVE-2025-59530, CVE-2025-64702 - hashicorp/go-getter and yuin/goldmark are no longer present in the module graph after upgrades (removed from go.sum entirely) govulncheck ./... reports no vulnerabilities before or after. go build ./... passes cleanly.
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Go module dependencies to remediate CVEs reported by BlackDuck (notably in OpenTelemetry and QUIC-related transitive deps), keeping the module graph vulnerability-free per govulncheck.
Changes:
- Bumps
github.com/imroc/req/v3tov3.57.0, pulling in newer QUIC stack dependencies. - Upgrades OpenTelemetry modules to
v1.43.0(and related OTLP/proto components). - Refreshes a broad set of transitive dependencies (AWS SDK v2 set,
grpc,klauspost/compress, etc.) viago.mod/go.sumupdates.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Updates direct + indirect module requirements to newer, vulnerability-remediating versions. |
| go.sum | Refreshes dependency checksums to match the updated module graph after upgrades. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Fixes security vulnerabilities identified in BlackDuck for the marklogic-kubernetes Helm repository.
Root cause: Several Go packages in go.sum were at versions with known CVEs following MLE-28474.
Fix:
Not in scope (constrained by gruntwork-io/terratest v0.56.0): bradleyfalzon/ghinstallation, dgrijalva/jwt-go, docker/cli, docker/distribution, ulikunitz/xz.
Validation: govulncheck ./... reports no vulnerabilities. go build ./... passes.
Jira: https://progresssoftware.atlassian.net/browse/MLE-29163