Repository navigation
fix(2.3.x): bump hardened builder Go to 1.26.9 + golang.org/x/net to v0.60.0 (CVE-2026-78667/78669/97031) - #10
Merged
tomhasura merged 3 commits intoOct 16, 2026
Conversation
…E-2026-97031 Bump the builder stage in Dockerfile-hasura-alpine from golang:1.26.8-bookworm to golang:1.26.9-bookworm to pick up the Go stdlib fixes for CVE-2026-78667 and CVE-2026-97031 (HIGH), fixed in Go 1.26.9. GOTOOLCHAIN=local means the builder image Go version stamps the shipped usr/bin/hydra binary, so this is the source lever for the ddn-oauth image (gcr.io/hasura-ee/hydra:v2.3.2-alpine3.23.6). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ddn-oauth usr/bin/hydra (gcr.io/hasura-ee/hydra:v2.3.2-alpine3.23.6) reported golang.org/x/net v0.58.0; fixed in v0.60.0. Bumped via go get + go mod tidy; go directive raised to 1.26.0 (required by x/net v0.60.0, satisfied by the 1.26.9-bookworm hardened builder under GOTOOLCHAIN=local). Validated with a native go build on Go 1.26.9 (go version -m shows x/net v0.60.0). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
tomhasura
marked this pull request as ready for review
October 16, 2026 01:53
tomhasura
self-requested a review
October 16, 2026 01:59
tomhasura
approved these changes
Oct 16, 2026
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.
Container vulnerability remediation — cumulative draft (base
2.3.x)Automated daily cumulative container-vulnerability remediation for
hasura/hydra.Requested by @tomhasura.
Scope summary (cumulative):
ddn-oauthimagegcr.io/hasura-ee/hydra:v2.3.2-alpine3.23.6, ecosystems Docker base-image (Go builder) + Go modules (lang-pkgs). Fixes in this branch:Dockerfile-hasura-alpinebuildergolang:1.26.8-bookworm→golang:1.26.9-bookworm(Gostdlib).go.mod/go.sumgolang.org/x/netv0.58.0→v0.60.0(Go module).Run: nightly-2026-10-10.209 (2026-10-10)
Scope:
ddn-oauthimagegcr.io/hasura-ee/hydra:v2.3.2-alpine3.23.6sha256:d5e1a8fafd513de0ea17a41ba7ccb52afb71ec24a0377fcc3de10c411348d6a2New finding (Go module):
golang.org/x/netinusr/bin/hydra— installedv0.58.0, fixed inv0.60.0(HIGH).Source lever / fix:
go.mod/go.sum—golang.org/x/net v0.58.0→v0.60.0(
go get golang.org/x/net@v0.60.0+go mod tidy; no vendor dir, noreplacedirective pins
x/neton2.3.x).x/net v0.60.0requiresgo 1.26.0, so themodule
godirective was raised1.25.0→1.26.0(the priortoolchain go1.25.14line was dropped by the tooling). This is satisfied at build time by the
golang:1.26.9-bookwormhardened builder (which runsGOTOOLCHAIN=local).go build -trimpath -tags sqlite,sqlite_omit_load_extensionunder
GOTOOLCHAIN=go1.26.9succeeded (exit 0);go vetexit 0;go version -mon the resulting binary reportsgo1.26.9andgolang.org/x/net v0.60.0. Transitivegolang.org/x/{crypto,mod,sync,sys,text}minimums required by
x/net v0.60.0were upgraded by MVS (none weakened).stdlib (carried, tonight also attributed CVE-2026-78669): Go
stdlibinusr/bin/hydra— installedv1.26.8, fixed in1.26.9,1.27.2(HIGH). Tonight'sevidence attributes CVE-2026-78667, CVE-2026-78669, CVE-2026-97031 to
stdlib.All three are remediated by the already-applied
golang:1.26.9-bookwormbuilder bumpbelow (no additional change needed for the stdlib instance of CVE-2026-78669).
Run: nightly-2026-10-09.208 (2026-10-09)
Scope:
ddn-oauthimagegcr.io/hasura-ee/hydra:v2.3.2-alpine3.23.6sha256:d5e1a8fafd513de0ea17a41ba7ccb52afb71ec24a0377fcc3de10c411348d6a2stdlibinusr/bin/hydra— installedv1.26.8, fixed in1.26.9,1.27.2(HIGH).Dockerfile-hasura-alpinebuilder stagegolang:1.26.8-bookworm→golang:1.26.9-bookworm(same-minor patch).The build sets
ENV GOTOOLCHAIN=local, so the builder image Go toolchain is whatstamps the shipped
usr/bin/hydrastdlib — this is the correct source-controlledlever. Pinned to the current multi-arch index digest
sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c.Not changed (with rationale):
.github/workflows/ci.yamlGo 1.22,cve-scan.yaml→.docker/Dockerfile-local-build): used for tests/scan only; they do not build theshipped hardened image binary, so they are not the lever for these findings.
alpine:3.23.6) and non-stdlib / non-x/netfindings: out of scopefor today's evidence.
Explicitly excluded (user-decided): CVE-2026-33504 and CVE-2026-32286 are a
user-decided false-positive / exception (OpenVEX merged as #8 / #9). Not acted on.
Upstream
masteris out of scope.Cross-base follow-up (NOT included here — reported, no second PR)
Line
1.4.xbuildsoauthimagegcr.io/hasura-ee/hydra:v1.4.16-alpine3.23.6(
sha256:6783a11748d9a3d27c842b59266aff92e0db5951c431add40703f2e0d72f7328) viaDockerfile-alpine. Tonight's evidence reports two HIGH findings on that image'susr/bin/hydra:stdlibv1.26.8→ fixed1.26.9/1.27.2(CVE-2026-78667, CVE-2026-78669,CVE-2026-97031). Lever:
Dockerfile-alpinebuilder pingolang:1.26.8-bookworm@sha256:a688600ca24f8a4d3ca77f95b0dd40704a9fc787c826660eb7ba0b641b8b175d→
golang:1.26.9-bookworm@sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c.golang.org/x/netv0.57.0→ fixedv0.60.0(CVE-2026-78669). Note the1.4.xgo.modcarriesreplace golang.org/x/net => golang.org/x/net v0.57.0, so the fixthere is to bump that
replacepin tov0.60.0(plusgo mod tidy), not a plaingo get.Per policy the
1.4.xwork is deferred pending @tomhasura and intentionally notopened as a second PR; it is recorded here as a cross-base follow-up only.
Draft opened by the automated remediation worker. Do not merge/approve/mark-ready
automatically.