From b753fb27953a442ac2ca548f11319745d178aef1 Mon Sep 17 00:00:00 2001 From: Tuomo Tanskanen Date: Wed, 29 Jan 2025 08:33:08 +0200 Subject: [PATCH] bump golang to 1.23.5 Golang stdlib has issue in crypto/x509, fixed in golang 1.23.5. https://osv.dev/GO-2025-3373 Golang stdlib has issue in net/http, fixed in golang 1.23.5. https://osv.dev/vulnerability/GO-2025-3420 Both codepaths are used in the code. Signed-off-by: Tuomo Tanskanen --- Dockerfile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49c3375..8d4c562 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Support FROM override -ARG BUILD_IMAGE=docker.io/golang:1.23.4@sha256:9820aca42262f58451f006de3213055974b36f24b31508c1baa73c967fcecb99 +ARG BUILD_IMAGE=docker.io/golang:1.23.5@sha256:8c10f21bec412f08f73aa7b97ca5ac5f28a39d8a88030ad8a339fd0a781d72b4 ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f # Build the manager binary diff --git a/Makefile b/Makefile index 43a5ea3..af93fce 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SHELL = /usr/bin/env bash -o pipefail .DEFAULT_GOAL:=help -GO_VERSION ?= 1.23.4 +GO_VERSION ?= 1.23.5 GO := $(shell type -P go) # Use GOPROXY environment variable if set GOPROXY := $(shell $(GO) env GOPROXY)