Repository navigation
chore: raise Go to 1.27.4 and upgrade Go dependencies - #890
Merged
Merged
Conversation
- go.mod toolchain go1.27.3 -> go1.27.4 - Dockerfile builder golang:1.27-alpine3.23 -> golang:1.27.4-alpine3.24 (matches the alpine 3.24 runtime stages) - go get -u ./... && go mod tidy - crewjam/saml v0.6.3 deprecates the global saml.TimeNow: IdP code uses time.Now().UTC() (identical to the default; no IdP Clock is configured), and the SP verify test pins a per-SP dsig fake clock instead of swapping the process-wide global
…jam/saml v0.6.3 GO-2026-6859 (net/http MaxBytesReader race) is fixed by the Go 1.27.4 toolchain bump in this branch; it is what turned govulncheck red on main.
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.
Summary
go.modtoolchaingo1.27.3→go1.27.4Dockerfilebuildergolang:1.27-alpine3.23→golang:1.27.4-alpine3.24(matches the alpine 3.24.3 runtime stages)go get -u ./... && go mod tidy(minor/patch upgrades across AWS SDK, pgx, goose, quic-go, crewjam/saml v0.6.3, etc.)saml.TimeNow(staticcheck SA1019):time.Now().UTC(), identical to the library default because no IdPClockis configureddsig.NewFakeClockAt(samlNow)instead of swapping the process-wide global.govulncheck-allow: re-verified the GO-2026-6909 false-positive reasoning against saml v0.6.3 and updated the cited versions and line numbersFixes govulncheck on main
mainis red on GO-2026-6859 (net/http MaxBytesReader header race, HTTP/1 server crash). OSV lists it as fixed in Go 1.27.4; this toolchain bump clears it.make vulnchecklocally on go1.27.4 reports: reachable 1, allowlisted 1, no blocking vulnerabilities.Verification (local, go1.27.4 darwin/arm64)
go build ./...,go vet ./...passmake lint(golangci-lint + prettier) cleanmake vulncheckpassesmake test-all-dbpasses: all 12 backends ran (postgres, cockroachdb, mysql, mariadb, sqlite, libsql, mongodb, arangodb, scylladb, cassandradb, dynamodb, couchbase), 0 FAIL, 0 SKIP;internal/storagetook 238stest-all-dbstarted, sogo test ./internal/http_handlers/(all SAML tests) was re-run on the final commit and passes