chore: upgrade golang.org/x/crypto to ^0.52.0 to address CVE-2026-39827#1363
Draft
linear-code[bot] wants to merge 1 commit into
Draft
Conversation
Force-upgrade x/crypto in the zoekt Docker build to a patched version (>= v0.52.0) to address CVE-2026-39827, where an authenticated SSH client repeatedly opening rejected channels could cause unbounded memory growth in the server. x/crypto enters the image only via the vendored zoekt Go build, so the upgrade is applied there. Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1421/sourcebot-devsourcebot-cve-2026-39827-an-authenticated-ssh-client-that#agent-session-dd6262ca) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
4d219b7 to
5a0d2ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes SOU-1421
Addresses CVE-2026-39827 (HIGH) in
golang.org/x/crypto(v0.50.0 → v0.52.0), where an authenticated SSH client repeatedly opening rejected channels could cause unbounded memory growth in the server.x/cryptoenters the Sourcebot image only through the Go build of the vendoredzoektsubmodule, where it's an indirect dependency pinned at v0.50.0. The proper fix is to bump it insourcebot-dev/zoekt'sgo.modand then bump the submodule pointer here, but that requires a commit in the zoekt repo. As a self-contained mitigation, this forces the patched version into the zoekt build via the Dockerfile (go get golang.org/x/crypto@v0.52.0), so the compiled binaries embed v0.52.0.vendor/zoektpinsx/crypto >= v0.52.0directly.