Skip to content

Commit 37bf6e8

Browse files
committed
update to go1.22.7
- https://github.com/golang/go/issues?q=milestone%3AGo1.22.7+label%3ACherryPickApproved - full diff: golang/go@go1.22.6...go1.22.7 These minor releases include 3 security fixes following the security policy: - go/parser: stack exhaustion in all Parse* functions Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion. This is CVE-2024-34155 and Go issue https://go.dev/issue/69138. - encoding/gob: stack exhaustion in Decoder.Decode Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635. Thanks to Md Sakib Anwar of The Ohio State University ([email protected]) for reporting this issue. This is CVE-2024-34156 and Go issue https://go.dev/issue/69139. - go/build/constraint: stack exhaustion in Parse Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion. This is CVE-2024-34158 and Go issue https://go.dev/issue/69141. View the release notes for more information: https://go.dev/doc/devel/release#go1.23.1 Signed-off-by: Paweł Gronowski <[email protected]> (cherry picked from commit a2e14dd) Signed-off-by: Paweł Gronowski <[email protected]>
1 parent fefdb1b commit 37bf6e8

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

.github/workflows/.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
default: "graphdriver"
2222

2323
env:
24-
GO_VERSION: "1.22.6"
24+
GO_VERSION: "1.22.7"
2525
GOTESTLIST_VERSION: v0.3.1
2626
TESTSTAT_VERSION: v0.1.25
2727
ITG_CLI_MATRIX_SIZE: 6

.github/workflows/.windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
default: false
2929

3030
env:
31-
GO_VERSION: "1.22.6"
31+
GO_VERSION: "1.22.7"
3232
GOTESTLIST_VERSION: v0.3.1
3333
TESTSTAT_VERSION: v0.1.25
3434
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
@@ -22,7 +22,7 @@ on:
2222
pull_request:
2323

2424
env:
25-
GO_VERSION: "1.22.6"
25+
GO_VERSION: "1.22.7"
2626
DESTDIR: ./build
2727
SETUP_BUILDX_VERSION: latest
2828
SETUP_BUILDKIT_IMAGE: moby/buildkit:latest

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
pull_request:
2323

2424
env:
25-
GO_VERSION: "1.22.6"
25+
GO_VERSION: "1.22.7"
2626
GIT_PAGER: "cat"
2727
PAGER: "cat"
2828
SETUP_BUILDX_VERSION: latest

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.22.6
3+
ARG GO_VERSION=1.22.7
44
ARG BASE_DEBIAN_DISTRO="bookworm"
55
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"
66
ARG XX_VERSION=1.5.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.22.6
8+
ARG GO_VERSION=1.22.7
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.22.6
164+
ARG GO_VERSION=1.22.7
165165
ARG GOTESTSUM_VERSION=v1.8.2
166166
ARG GOWINRES_VERSION=v0.3.1
167167
ARG CONTAINERD_VERSION=v1.7.21

api/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5347,7 +5347,7 @@ definitions:
53475347
The version Go used to compile the daemon, and the version of the Go
53485348
runtime in use.
53495349
type: "string"
5350-
example: "go1.21.13"
5350+
example: "go1.22.7"
53515351
Os:
53525352
description: |
53535353
The operating system that the daemon is running on ("linux" or "windows")

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.22.6
3+
ARG GO_VERSION=1.22.7
44
ARG BASE_DEBIAN_DISTRO="bookworm"
55
ARG PROTOC_VERSION=3.11.4
66

hack/dockerfiles/govulncheck.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.13
3+
ARG GO_VERSION=1.22.7
44
ARG GOVULNCHECK_VERSION=v1.1.3
55
ARG FORMAT=text
66

0 commit comments

Comments
 (0)