Skip to content

security: bump golang.org/x/crypto to v0.52.0 (critical SSH CVEs) - #2397

Open
DjamilaBaroudi wants to merge 1 commit into
mainfrom
fix/crypto-cve-x-crypto-0.52
Open

security: bump golang.org/x/crypto to v0.52.0 (critical SSH CVEs)#2397
DjamilaBaroudi wants to merge 1 commit into
mainfrom
fix/crypto-cve-x-crypto-0.52

Conversation

@DjamilaBaroudi

@DjamilaBaroudi DjamilaBaroudi commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

What

Bumps golang.org/x/crypto from v0.51.0/v0.48.0 to v0.52.0 across all four Go modules in the repo, resolving the open Dependabot alerts for this package.

Why

Dependabot flagged 13 alerts per module on golang.org/x/crypto < 0.52.0. The critical ones are SSH-related:

Plus high/medium DoS and panic advisories. All fixed in v0.52.0.

Modules updated

  • go.mod (shipped binary)
  • integration-tests/cloud-integration-tests/{starrocks,sail,doris}/go.mod

Is it breaking?

No. x/crypto is an indirect dependency (no Bruin code imports it directly) and 0.51 → 0.52 is a backward-compatible minor release. go build ./... compiles cleanly and go mod verify passes. go mod tidy additionally pulled matching transitive versions (otel/sys/text in sail) and reclassified moby/moby/api as a direct require in doris/starrocks.

Resolves the open Dependabot alerts for golang.org/x/crypto (< 0.52.0),
including several critical SSH-related advisories (auth bypass via
unenforced revoked status, agent/key constraint enforcement, FIDO/U2F
presence-check bypass) plus high/medium DoS and panic issues.

x/crypto is an indirect dependency; this is a backward-compatible minor
bump with no API changes. Applied to the main module and the
starrocks/sail/doris cloud integration-test modules. go mod tidy pulled
matching transitive versions (otel/sys/text in sail) and reclassified
moby/moby/api as a direct require in doris/starrocks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
integration-tests/cloud-integration-tests/doris/go.sum:1
**go.sum changes wider than described**

Beyond the stated crypto/moby/otel changes, `go mod tidy` also upgraded several integration-test transitive dependencies: `apache/arrow-adbc/go/adbc` jumped from a pre-release commit (`v0.0.0-20251120`) to `v1.11.0`, `snowflakedb/gosnowflake` from v1.17.1 to v1.19.0, `databricks/databricks-sql-go` from v1.9.0 to v1.10.0, and multiple GCP libraries (auth, bigquery, storage, iam, longrunning, monitoring). These aren't mentioned in the PR description and represent real version changes in the module graph used by the doris and starrocks integration tests. Confirm that CI runs these integration tests cleanly with the new dep tree before merging.

Reviews (1): Last reviewed commit: "security: bump golang.org/x/crypto to v0..." | Re-trigger Greptile

Comment thread integration-tests/cloud-integration-tests/doris/go.sum
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.

1 participant