Skip to content

MLE-29163: Upgrade Go packages to resolve security vulnerabilities#340

Merged
vitalykorolev merged 1 commit into
developfrom
MLE-29163_upgrade-go-security-packages
May 5, 2026
Merged

MLE-29163: Upgrade Go packages to resolve security vulnerabilities#340
vitalykorolev merged 1 commit into
developfrom
MLE-29163_upgrade-go-security-packages

Conversation

@vitalykorolev
Copy link
Copy Markdown
Collaborator

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:

  • go.opentelemetry.io/otel (+ metric, sdk, trace, otlptrace) v1.35.0 -> v1.43.0 (CVE-2026-24051, CVE-2026-39882, CVE-2026-39883)
  • github.com/imroc/req/v3 v3.50.0 -> v3.57.0, which pulls quic-go v0.57.1 (CVE-2025-59530, CVE-2025-64702)
  • hashicorp/go-getter (was v1.6.1) and yuin/goldmark (was v1.4.13) are no longer present in the module graph after upgrades, resolving their associated CVEs without requiring explicit pins
  • google.golang.org/grpc upgraded transitively v1.71.0 -> v1.80.0

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

- 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.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/v3 to v3.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.) via go.mod/go.sum updates.

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.

Copy link
Copy Markdown
Collaborator

@pengzhouml pengzhouml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vitalykorolev vitalykorolev merged commit 801366f into develop May 5, 2026
7 checks passed
@vitalykorolev vitalykorolev deleted the MLE-29163_upgrade-go-security-packages branch May 5, 2026 16:18
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.

3 participants