Skip to content

chore: bump vendor/zoekt to upgrade golang.org/x/net to ^0.55.0 (CVE-2026-25680)#1365

Closed
linear-code[bot] wants to merge 1 commit into
mainfrom
linear/sou-1417-sourcebot-devsourcebot-cve-2026-25680-parsing-arbitrary-545d
Closed

chore: bump vendor/zoekt to upgrade golang.org/x/net to ^0.55.0 (CVE-2026-25680)#1365
linear-code[bot] wants to merge 1 commit into
mainfrom
linear/sou-1417-sourcebot-devsourcebot-cve-2026-25680-parsing-arbitrary-545d

Conversation

@linear-code

@linear-code linear-code Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Fixes SOU-1417

golang.org/x/net is pulled in transitively through the vendor/zoekt submodule (built in the Dockerfile), not via any npm package. The Trivy-flagged v0.53.0 is a direct dependency of zoekt; CVE-2026-25680 (excessive CPU when parsing arbitrary HTML) is fixed in 0.55.0.

This PR advances the vendor/zoekt submodule to a commit that runs go get golang.org/x/net@v0.55.0 && go mod tidy, which also bumps the transitive golang.org/x/sys (0.43.0 → 0.45.0), golang.org/x/crypto (0.50.0 → 0.51.0), golang.org/x/term (0.42.0 → 0.43.0), and golang.org/x/text (0.36.0 → 0.37.0). The zoekt cmd/... binaries build cleanly with CGO_ENABLED=0 GOOS=linux after the bump.

Warning

Draft / blocked on upstream. The fix lives in the separate sourcebot-dev/zoekt repo. I don't have push access there, so the submodule gitlink currently points at a local commit (1d5bf37) that isn't on zoekt main yet — git submodule update will fail until the companion change is merged.

Mirroring the prior pattern (zoekt PR + sourcebot pointer bump, e.g. #1290sourcebot-dev/zoekt#15), a maintainer needs to land the go.mod/go.sum change in sourcebot-dev/zoekt first, then re-point this submodule at the merged commit.

The exact zoekt change to apply (go.mod shown; go.sum updates the matching h1:/go.mod hashes):

 	golang.org/x/net v0.53.0
+	golang.org/x/net v0.55.0
 	golang.org/x/sys v0.43.0
+	golang.org/x/sys v0.45.0
 	golang.org/x/crypto v0.50.0 // indirect
+	golang.org/x/crypto v0.51.0 // indirect
 	golang.org/x/text v0.36.0 // indirect
+	golang.org/x/text v0.37.0 // indirect

go.sum (new entries):

golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8=
golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
golang.org/x/crypto v0.51.0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI=
golang.org/x/term v0.43.0 h1:S4RLU2sB31O/NCl+zFN9Aru9A/Cq2aqKpTZJ6B+DwT4=
golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=

…2026-25680)

Advances the vendor/zoekt submodule to a commit that upgrades
golang.org/x/net v0.53.0 -> v0.55.0, addressing CVE-2026-25680 (excessive
CPU consumption when parsing arbitrary HTML). go mod tidy also bumped the
transitive golang.org/x/sys, golang.org/x/crypto, golang.org/x/term, and
golang.org/x/text.

Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1417/sourcebot-devsourcebot-cve-2026-25680-parsing-arbitrary-html-can#agent-session-f919f080)

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
@linear-code linear-code Bot force-pushed the linear/sou-1417-sourcebot-devsourcebot-cve-2026-25680-parsing-arbitrary-545d branch from d8490e5 to c5326de Compare June 23, 2026 14:06
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