Repository navigation
fix: address govulncheck dependency vulnerabilities - #468
Conversation
Update OpenTelemetry, CEL, compression, SSH, and sumdb dependencies to fixed versions and synchronize all six Go modules. Co-authored-by: Copilot <[email protected]> Signed-off-by: Alexander Laye <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The stated x/mod remediation remains incomplete in the operator, shared, and long-haul modules.
1 open finding
What changed in this PR
Updates Go dependencies to remediate reported vulnerabilities across the repository’s six modules.
Changes:
- Upgrades OpenTelemetry, CEL, compression, cryptography, and related transitive dependencies.
- Refreshes module checksums.
- Leaves
golang.org/x/modv0.38.0 in three modules despite declaring v0.40.0 as the remediation.
| File | Description |
|---|---|
test/shared/go.mod |
Updates shared-test dependencies. |
test/shared/go.sum |
Refreshes shared-test checksums. |
test/longhaul/go.mod |
Updates long-haul dependencies. |
test/longhaul/go.sum |
Refreshes long-haul checksums. |
test/e2e/go.mod |
Updates E2E dependencies, including x/mod. |
test/e2e/go.sum |
Refreshes E2E checksums. |
operator/src/go.mod |
Updates operator dependencies. |
operator/src/go.sum |
Refreshes operator checksums. |
operator/cnpg-plugins/sidecar-injector/go.mod |
Updates the compression dependency. |
operator/cnpg-plugins/sidecar-injector/go.sum |
Refreshes sidecar checksums. |
documentdb-kubectl-plugin/go.mod |
Updates plugin transitive dependencies. |
documentdb-kubectl-plugin/go.sum |
Refreshes plugin checksums. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| golang.org/x/crypto v0.55.0 // indirect | ||
| golang.org/x/mod v0.38.0 // indirect | ||
| golang.org/x/crypto v0.56.0 // indirect | ||
| golang.org/x/mod v0.40.0 // indirect |
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (dependencies, kubectl-plugin); P0 keyword "vulnerabilities" in title; effort from diff stats (121+130 LOC, 12 files) If a label is wrong, remove it manually and ping |

Summary
Update vulnerable dependencies to their reported fixed versions and synchronize go.mod/go.sum across all six Go modules. No application code, workflow, or Go version changes.
Necessary transitive updates are resolved with go mod tidy, including modules that replace the operator/shared helpers with local paths.
Verification
Scanned on 2026-10-08 with govulncheck v1.6.0 and the module-selected Go 1.26.6 toolchain.
Remaining Advisory
GO-2026-5932 flags the unmaintained golang.org/x/crypto/openpgp package at every version and has no fixed release. It remains a module-only warning in test/e2e, test/longhaul, and test/shared. None of those modules import the affected OpenPGP packages, and govulncheck does not report reachable or imported-package exposure. The advisory is not suppressed.
The new branch was created from alaye/main, then fast-forwarded to current upstream main before applying the fix. Commit carries the required DCO sign-off.