Skip to content

Commit 6fbdce4

Browse files
committed
update to go1.21.12
- https://github.com/golang/go/issues?q=milestone%3AGo1.21.12+label%3ACherryPickApproved - full diff: golang/go@go1.21.11...go1.21.12 These minor releases include 1 security fixes following the security policy: net/http: denial of service due to improper 100-continue handling The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending "Expect: 100-continue" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail. Thanks to Geoff Franks for reporting this issue. This is CVE-2024-24791 and Go issue https://go.dev/issue/67555. View the release notes for more information: https://go.dev/doc/devel/release#go1.21.12 **- Description for the changelog** ```markdown changelog Update Go runtime to 1.21.12 ``` Signed-off-by: Paweł Gronowski <[email protected]> (cherry picked from commit 4d1d7c3) Signed-off-by: Paweł Gronowski <[email protected]>
1 parent f533464 commit 6fbdce4

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

.github/workflows/.test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
default: "graphdriver"
1313

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

.github/workflows/.windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
default: false
2020

2121
env:
22-
GO_VERSION: "1.21.11"
22+
GO_VERSION: "1.21.12"
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
pull_request:
1414

1515
env:
16-
GO_VERSION: "1.21.11"
16+
GO_VERSION: "1.21.12"
1717
DESTDIR: ./build
1818

1919
jobs:

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
pull_request:
1414

1515
env:
16-
GO_VERSION: "1.21.11"
16+
GO_VERSION: "1.21.12"
1717
GIT_PAGER: "cat"
1818
PAGER: "cat"
1919

Dockerfile

+1-1
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.11
3+
ARG GO_VERSION=1.21.12
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

+1-1
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.11
8+
ARG GO_VERSION=1.21.12
99

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

Dockerfile.windows

+1-1
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.11
164+
ARG GO_VERSION=1.21.12
165165
ARG GOTESTSUM_VERSION=v1.8.2
166166
ARG GOWINRES_VERSION=v0.3.1
167167
ARG CONTAINERD_VERSION=v1.7.18

hack/dockerfiles/generate-files.Dockerfile

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

3-
ARG GO_VERSION=1.21.11
3+
ARG GO_VERSION=1.21.12
44
ARG BASE_DEBIAN_DISTRO="bookworm"
55
ARG PROTOC_VERSION=3.11.4
66

0 commit comments

Comments
 (0)