Repository navigation
fix(deps): patch OpenTelemetry vulnerability GO-2026-6974 - #530
Conversation
Upgrade the operator OTel SDK, trace, metric and root modules to v1.47.0 for GO-2026-6974. Refresh required transitive dependencies and local-consumer checksums; leave OTLP exporters, Go toolchains and application code unchanged. All six govulncheck module scans pass. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 33b3cb3c-1b25-4ffb-bff1-ebf0f3d04058 Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the dependency-only OpenTelemetry security update.
No open issues 🎉
What changed in this PR
This dependency-only maintenance PR addresses OpenTelemetry vulnerability GO-2026-6974 in the DocumentDB operator, separately from the shared-runtime work in #528. No application code, toolchain versions, charts, images, or workflows change.
Changes:
- Upgrade OpenTelemetry SDK and trace dependencies to v1.47.0 and align required modules, while retaining OTLP exporters at v1.45.0.
- Update supporting log, test, and YAML dependencies.
- Refresh dependency checksums across the operator and four modules that use its local source.
| File | Description |
|---|---|
test/shared/go.sum |
Refresh shared-test dependency checksums. |
test/shared/go.mod |
Update the indirect YAML dependency. |
test/longhaul/go.sum |
Refresh longhaul dependency checksums. |
test/longhaul/go.mod |
Update the indirect YAML dependency. |
test/e2e/go.sum |
Refresh end-to-end test dependency checksums. |
test/e2e/go.mod |
Update the indirect YAML dependency. |
operator/src/go.sum |
Record upgraded telemetry and supporting dependency checksums. |
operator/src/go.mod |
Upgrade OpenTelemetry and supporting dependencies. |
documentdb-kubectl-plugin/go.sum |
Refresh plugin checksums and remove unused entries. |
documentdb-kubectl-plugin/go.mod |
Update the indirect YAML dependency. |
Review effort: Balanced
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (dependencies, kubectl-plugin); P0 keyword "vulnerability" in title; effort from diff stats (86+95 LOC, 10 files) If a label is wrong, ping |
Summary
Fix GO-2026-6974 in the operator's existing OpenTelemetry dependencies.
This is a dependency-only maintenance PR based directly on
main, separatefrom the declarative shared-runtime changes in #528.
The advisory concerns bypass of
AttributeValueLengthLimitthrough U+FFFDrunes and excessive attribute-memory retention. It does not establish an
operator authentication bypass or data breach.
Minimal dependency changes
go.opentelemetry.io/otel/sdkandotel/tracefrom v1.45.0 tov1.47.0, the first fixed version.
otelandotel/metricto v1.47.0 as required by those modules.go mod tidyselect the required log/test/YAML dependencies and refreshchecksums in the four modules that replace the operator with the local source.
Only ten
go.mod/go.sumfiles change. No operator/controller/API code,Go-toolchain versions, chart, runtime images or workflows change.
Validation
operator, sidecar injector, kubectl plugin, shared tests, e2e and longhaul.
non-reachable dependency advisories; this is not a claim that every required
module is advisory-free.
pass and all e2e test packages compile without invoking a live cluster.
go mod tidy -diffandgo mod verifypass for all five changed modules.Merge order
Merge this independent maintenance fix before #528, then update #528 from main
and rerun its checks. No vulnerability checks are disabled or suppressed here.