Skip to content

fix: upgrade cert-manager to address CVE-2026-62290 - #505

Merged
WentingWu666666 merged 4 commits into
documentdb:mainfrom
WentingWu666666:developer/wentingwu/security-alert-22004131
Nov 10, 2026
Merged

WentingWu666666 merged 4 commits into
documentdb:mainfrom
WentingWu666666:developer/wentingwu/security-alert-22004131

Conversation

@WentingWu666666

@WentingWu666666 WentingWu666666 commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade the cert-manager Go dependency from v1.19.3 to v1.19.6 and regenerate checksums.
  • Update pinned Arc/Fleet installations and the compatibility matrix to v1.19.6.
  • Upgrade github.com/klauspost/compress from v1.18.7 to v1.20.2 in the sidecar injector and shared, E2E, and long-haul test modules, resolving all four failing vulnerability scans.
  • Keep Unreleased above v1.1.1 and remove its duplicate released WAL replica bug fix.
  • Document that existing clusters must separately upgrade their cert-manager controller; upgrading the DocumentDB operator alone does not upgrade cert-manager.

Addresses CVE-2026-62290 / GHSA-8rvj-mm4h-c258, which allows direct ACME Challenges to bypass Issuer DNS01 solver policy and use ClusterIssuer DNS credentials, and GO-2026-6865, a panic in compression frame handling.

Validation

  • Operator: go test ./internal/controller ./internal/engine ./pkg/core and go build ./... passed.
  • Sidecar injector, shared tests, and long-haul tests: go test ./... passed in each module.
  • E2E helpers: go test . ./pkg/... and go build ./... passed; cluster-dependent E2E tests were not run locally.
  • go run golang.org/x/vuln/cmd/govulncheck@latest ./... passed in the operator and all four updated compression consumers with no reachable vulnerabilities. Unrelated non-reachable advisories remain.
  • bash -n and ShellCheck at warning severity passed for both updated scripts. Default ShellCheck reports only unchanged SC1091/SC2129 findings, confirmed against the base commit.
  • git diff --check passed.

Upgrade note

Existing cert-manager installations require a patched controller release: v1.19.6 or v1.20.3 (or a later patched release on the corresponding track).

wentingwu000 and others added 2 commits November 10, 2026 12:16
Upgrade the operator dependency and pinned Arc/Fleet installations to cert-manager v1.19.6. Document the separate controller upgrade required for existing clusters.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 47b81bb1-4a37-413d-890f-6f0a563be803
Signed-off-by: Wenting Wu <[email protected]>
Move Unreleased above v1.1.1 and remove the duplicate WAL replica bug fix already included in that release.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 47b81bb1-4a37-413d-890f-6f0a563be803
Signed-off-by: Wenting Wu <[email protected]>
@WentingWu666666
WentingWu666666 marked this pull request as ready for review November 10, 2026 17:20
Copilot AI balanced review requested due to automatic review settings November 10, 2026 17:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The supported PowerShell setup helpers still pin cert-manager v1.19.2, leaving users without the security fix included in v1.19.6.

1 open issue
What changed in this PR

This PR updates cert-manager dependencies and Bash/manual installation paths to v1.19.6 to address CVE-2026-62290. It also clarifies that existing clusters need a separate cert-manager controller upgrade.

Changes:

  • Upgrade the operator’s cert-manager Go dependency and checksums.
  • Update Arc/Fleet Bash installers, manual commands, and the compatibility matrix.
  • Add a security changelog entry explaining controller upgrade requirements.
File Description
operator/​src/​go.sum Update cert-manager checksums to v1.19.6.
operator/​src/​go.mod Pin cert-manager to v1.19.6.
documentdb-playground/​arc-hybrid-setup-with-fleet/​scripts/​bash/​setup-fleet-hub.sh Upgrade the Fleet hub cert-manager installation pin.
documentdb-playground/​arc-hybrid-setup-with-fleet/​scripts/​bash/​setup-arc-member.sh Upgrade the Arc member fallback installation pin.
documentdb-playground/​arc-hybrid-setup-with-fleet/​README.md Update manual cert-manager installation commands.
CHANGELOG.md Add the security upgrade notice and remove the previous unreleased entry.
AGENTS.md Update cert-manager in the compatibility matrix.

Review effort: Balanced

Comment thread CHANGELOG.md Resolved
Bump github.com/klauspost/compress to v1.20.2 in all four failing module scans to address GO-2026-6865. Regenerate checksums and record the security update.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 47b81bb1-4a37-413d-890f-6f0a563be803
Signed-off-by: Wenting Wu <[email protected]>
Align both Arc/Fleet PowerShell helpers with the patched v1.19.6 release used by the Bash helpers and manual installation instructions.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 47b81bb1-4a37-413d-890f-6f0a563be803
Signed-off-by: Wenting Wu <[email protected]>

@xgerman xgerman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed commit 59a81d7. No additional actionable findings.

The selected versions match the upstream fixes: cert-manager v1.19.6 for GHSA-8rvj-mm4h-c258 / CVE-2026-62290, and klauspost/compress v1.20.2 for GO-2026-6865. Both PowerShell pins are now updated, resolving the earlier inline finding; all explicit cert-manager release-manifest URLs in this snapshot use v1.19.6. The changelog correctly distinguishes updating the Go dependency from separately upgrading an existing cert-manager controller.

Independently validated the exact PR snapshot: targeted operator controller/engine/core tests, all sidecar/shared/longhaul unit tests, E2E root/helper tests, and Bash syntax checks passed. govulncheck passed in all five changed modules with zero reachable vulnerabilities. Non-reachable advisories remain, as disclosed in the PR; these results are not a claim that every dependency or deployed image is vulnerability-free. No live cert-manager controller upgrade or cluster-dependent E2E suite was run. GitHub CI was still queued when checked. No source changes made.

@documentdb-triage-tool documentdb-triage-tool Bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation ecosystem labels Nov 10, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: dependencies, ecosystem, documentation
Project fields suggested: Component dependencies · Priority P0 · Effort L · Status Ready
Confidence: 0.95 (deterministic)

Reasoning

component from path globs (dependencies, playground, docs); P0 keyword "panic" in body; effort from diff stats (28+27 LOC, 17 files)

If a label is wrong, ping @patty-chow so the rules can be tuned. Issues with component labels are left alone; PR component labels are reconciled from changed paths on every run.

@WentingWu666666
WentingWu666666 merged commit 90a2d93 into documentdb:main Nov 10, 2026
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants