update to go1.21.8

go1.21.8 (released 2024-03-05) includes 5 security fixes

- crypto/x509: Verify panics on certificates with an unknown public key algorithm (CVE-2024-24783, https://go.dev/issue/65390)
- net/http: memory exhaustion in Request.ParseMultipartForm (CVE-2023-45290, https://go.dev/issue/65383)
- net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect (CVE-2023-45289, https://go.dev/issue/65065)
- html/template: errors returned from MarshalJSON methods may break template escaping (CVE-2024-24785, https://go.dev/issue/65697)
- net/mail: comments in display names are incorrectly handled (CVE-2024-24784, https://go.dev/issue/65083)

View the release notes for more information:
https://go.dev/doc/devel/release#go1.22.1

- https://github.com/golang/go/issues?q=milestone%3AGo1.21.8+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.21.7...go1.21.8

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski 2024-03-05 19:17:18 +01:00
parent 046827c657
commit 57b7ffa7f6
No known key found for this signature in database
GPG key ID: B85EFCFE26DEF92A
8 changed files with 8 additions and 8 deletions

View file

@ -12,7 +12,7 @@ on:
default: "graphdriver" default: "graphdriver"
env: env:
GO_VERSION: "1.21.7" GO_VERSION: "1.21.8"
GOTESTLIST_VERSION: v0.3.1 GOTESTLIST_VERSION: v0.3.1
TESTSTAT_VERSION: v0.1.25 TESTSTAT_VERSION: v0.1.25
ITG_CLI_MATRIX_SIZE: 6 ITG_CLI_MATRIX_SIZE: 6

View file

@ -19,7 +19,7 @@ on:
default: false default: false
env: env:
GO_VERSION: "1.21.7" GO_VERSION: "1.21.8"
GOTESTLIST_VERSION: v0.3.1 GOTESTLIST_VERSION: v0.3.1
TESTSTAT_VERSION: v0.1.25 TESTSTAT_VERSION: v0.1.25
WINDOWS_BASE_IMAGE: mcr.microsoft.com/windows/servercore WINDOWS_BASE_IMAGE: mcr.microsoft.com/windows/servercore

View file

@ -13,7 +13,7 @@ on:
pull_request: pull_request:
env: env:
GO_VERSION: "1.21.7" GO_VERSION: "1.21.8"
DESTDIR: ./build DESTDIR: ./build
jobs: jobs:

View file

@ -13,7 +13,7 @@ on:
pull_request: pull_request:
env: env:
GO_VERSION: "1.21.7" GO_VERSION: "1.21.8"
GIT_PAGER: "cat" GIT_PAGER: "cat"
PAGER: "cat" PAGER: "cat"

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.21.7 ARG GO_VERSION=1.21.8
ARG BASE_DEBIAN_DISTRO="bookworm" ARG BASE_DEBIAN_DISTRO="bookworm"
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}" ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"
ARG XX_VERSION=1.2.1 ARG XX_VERSION=1.2.1

View file

@ -5,7 +5,7 @@
# This represents the bare minimum required to build and test Docker. # This represents the bare minimum required to build and test Docker.
ARG GO_VERSION=1.21.7 ARG GO_VERSION=1.21.8
ARG BASE_DEBIAN_DISTRO="bookworm" ARG BASE_DEBIAN_DISTRO="bookworm"
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}" ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"

View file

@ -161,7 +161,7 @@ FROM ${WINDOWS_BASE_IMAGE}:${WINDOWS_BASE_IMAGE_TAG}
# Use PowerShell as the default shell # Use PowerShell as the default shell
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
ARG GO_VERSION=1.21.7 ARG GO_VERSION=1.21.8
ARG GOTESTSUM_VERSION=v1.8.2 ARG GOTESTSUM_VERSION=v1.8.2
ARG GOWINRES_VERSION=v0.3.1 ARG GOWINRES_VERSION=v0.3.1
ARG CONTAINERD_VERSION=v1.7.13 ARG CONTAINERD_VERSION=v1.7.13

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.21.7 ARG GO_VERSION=1.21.8
ARG BASE_DEBIAN_DISTRO="bookworm" ARG BASE_DEBIAN_DISTRO="bookworm"
ARG PROTOC_VERSION=3.11.4 ARG PROTOC_VERSION=3.11.4