Skip to content

Commit 329d403

Browse files
committed
update to go1.21.9
go1.21.9 (released 2024-04-03) includes a security fix to the net/http package, as well as bug fixes to the linker, and the go/types and net/http packages. See the [Go 1.21.9 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved) for more details. These minor releases include 1 security fixes following the security policy: - http2: close connections when receiving too many headers Maintaining HPACK state requires that we parse and process all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, we don't allocate memory to store the excess headers but we do parse them. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. Set a limit on the amount of excess header frames we will process before closing a connection. Thanks to Bartek Nowotarski (https://nowotarski.info/) for reporting this issue. This is CVE-2023-45288 and Go issue https://go.dev/issue/65051. View the release notes for more information: https://go.dev/doc/devel/release#go1.22.2 - https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved - full diff: golang/go@go1.21.8...go1.21.9 Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent 8599f2a commit 329d403

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

.github/workflows/.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
default: "graphdriver"
1313

1414
env:
15-
GO_VERSION: "1.21.8"
15+
GO_VERSION: "1.21.9"
1616
GOTESTLIST_VERSION: v0.3.1
1717
TESTSTAT_VERSION: v0.1.25
1818
ITG_CLI_MATRIX_SIZE: 6

.github/workflows/.windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
default: false
2020

2121
env:
22-
GO_VERSION: "1.21.8"
22+
GO_VERSION: "1.21.9"
2323
GOTESTLIST_VERSION: v0.3.1
2424
TESTSTAT_VERSION: v0.1.25
2525
WINDOWS_BASE_IMAGE: mcr.microsoft.com/windows/servercore

.github/workflows/buildkit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
pull_request:
1414

1515
env:
16-
GO_VERSION: "1.21.8"
16+
GO_VERSION: "1.21.9"
1717
DESTDIR: ./build
1818

1919
jobs:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
pull_request:
1414

1515
env:
16-
GO_VERSION: "1.21.8"
16+
GO_VERSION: "1.21.9"
1717
GIT_PAGER: "cat"
1818
PAGER: "cat"
1919

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.7
22

3-
ARG GO_VERSION=1.21.8
3+
ARG GO_VERSION=1.21.9
44
ARG BASE_DEBIAN_DISTRO="bookworm"
55
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"
66
ARG XX_VERSION=1.4.0

Dockerfile.simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# This represents the bare minimum required to build and test Docker.
77

8-
ARG GO_VERSION=1.21.8
8+
ARG GO_VERSION=1.21.9
99

1010
ARG BASE_DEBIAN_DISTRO="bookworm"
1111
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ FROM ${WINDOWS_BASE_IMAGE}:${WINDOWS_BASE_IMAGE_TAG}
161161
# Use PowerShell as the default shell
162162
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
163163

164-
ARG GO_VERSION=1.21.8
164+
ARG GO_VERSION=1.21.9
165165
ARG GOTESTSUM_VERSION=v1.8.2
166166
ARG GOWINRES_VERSION=v0.3.1
167167
ARG CONTAINERD_VERSION=v1.7.13

hack/dockerfiles/generate-files.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.21.8
3+
ARG GO_VERSION=1.21.9
44
ARG BASE_DEBIAN_DISTRO="bookworm"
55
ARG PROTOC_VERSION=3.11.4
66

0 commit comments

Comments
 (0)