fix(security): update Go, x/net, handlebars and the frontend base packages

This commit is contained in:
shira committed 2026-10-10 18:40:06 +03:00
1 parent d6f960f8ae
commit 0beae4895d
19 files changed
+68 -54

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
# Base images are build arguments so that make -C deploy release-build can pin
# each one to the digest it resolved; the defaults keep the agreed tags.
ARG GO_IMAGE=golang:1.26.8-alpine
ARG GO_IMAGE=golang:1.26.9-alpine
ARG RUNTIME_IMAGE=gcr.io/distroless/static-debian12:nonroot
FROM ${GO_IMAGE} AS build
# Never download another Go toolchain: a go.mod that asks for a newer Go
# fails the build instead of silently replacing 1.26.8.
# fails the build instead of silently replacing 1.26.9.
ENV GOTOOLCHAIN=local
WORKDIR /src/backend
+1 -1
View File
@@ -1,7 +1,7 @@
# Image of the demo seed operator command. Only the isolated demo stand
# overlay (deploy/docker/docker-compose.demo.yml) builds it; the backend and
# release images never contain the command.
ARG GO_IMAGE=golang:1.26.8-alpine
ARG GO_IMAGE=golang:1.26.9-alpine
ARG RUNTIME_IMAGE=gcr.io/distroless/static-debian12:nonroot
FROM ${GO_IMAGE} AS build
+1 -1
View File
@@ -1,6 +1,6 @@
# This image is for local browser E2E only. The release path uses
# Dockerfile and never enables the e2e Go build tag.
ARG GO_IMAGE=golang:1.26.8-alpine
ARG GO_IMAGE=golang:1.26.9-alpine
ARG RUNTIME_IMAGE=gcr.io/distroless/static-debian12:nonroot
FROM ${GO_IMAGE} AS build
+1 -1
View File
@@ -1,6 +1,6 @@
# The fixture is built separately from the application and only by the local
# E2E Compose overlay.
ARG GO_IMAGE=golang:1.26.8-alpine
ARG GO_IMAGE=golang:1.26.9-alpine
ARG RUNTIME_IMAGE=gcr.io/distroless/static-debian12:nonroot
FROM ${GO_IMAGE} AS build
+3 -3
View File
@@ -1,6 +1,6 @@
module lincodex/backend
go 1.26.8
go 1.26.9
require (
github.com/aws/aws-sdk-go-v2 v1.47.1
@@ -30,6 +30,7 @@ require (
go.opentelemetry.io/otel v1.47.0
go.opentelemetry.io/otel/metric v1.47.0
go.opentelemetry.io/otel/trace v1.47.0
go.yaml.in/yaml/v3 v3.0.5
golang.org/x/crypto v0.57.0
golang.org/x/sync v0.23.0
golang.org/x/text v0.42.0
@@ -380,12 +381,11 @@ require (
go.uber.org/atomic v1.12.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.28.0 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
go.yaml.in/yaml/v4 v4.0.0-rc.6 // indirect
golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba // indirect
golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f // indirect
golang.org/x/mod v0.41.0 // indirect
golang.org/x/net v0.59.0 // indirect
golang.org/x/net v0.60.0 // indirect
golang.org/x/sys v0.48.0 // indirect
golang.org/x/term v0.46.0 // indirect
golang.org/x/tools v0.50.0 // indirect
+2 -2
View File
@@ -968,8 +968,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues=
golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU=
golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+1 -1
View File
@@ -14,7 +14,7 @@ func TestFindPersonalIdentifiers(t *testing.T) {
if !slices.Equal(got, want) {
t.Fatalf("FindPersonalIdentifiers() = %q, want %q", got, want)
}
if found := FindPersonalIdentifiers(`go_info{version="go1.26.8"} 1`); len(found) != 0 {
if found := FindPersonalIdentifiers(`go_info{version="go1.26.9"} 1`); len(found) != 0 {
t.Fatalf("FindPersonalIdentifiers() reported %q in a clean text", found)
}
}