Skip to content

Commit d249ce2

Browse files
committed
update to go1.21.2
go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. See the Go 1.21.2 milestone on our issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.21.2+label%3ACherryPickApproved full diff: golang/go@go1.21.1...go1.21.2 From the security mailing: [security] Go 1.21.2 and Go 1.20.9 are released Hello gophers, We have just released Go versions 1.21.2 and 1.20.9, minor point releases. These minor releases include 1 security fixes following the security policy: - cmd/go: line directives allows arbitrary execution during build "//line" directives can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compliation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploting this issue significantly more complex. This is CVE-2023-39323 and Go issue https://go.dev/issue/63211. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 26951f7 commit d249ce2

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
name: Set up Go
6464
uses: actions/setup-go@v4
6565
with:
66-
go-version: 1.21.1
66+
go-version: 1.21.2
6767
-
6868
name: Test
6969
run: |

Dockerfile

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

33
ARG BASE_VARIANT=alpine
4-
ARG GO_VERSION=1.21.1
4+
ARG GO_VERSION=1.21.2
55
ARG ALPINE_VERSION=3.17
66
ARG XX_VERSION=1.2.1
77
ARG GOVERSIONINFO_VERSION=v1.3.0

docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variable "GO_VERSION" {
2-
default = "1.21.1"
2+
default = "1.21.2"
33
}
44
variable "VERSION" {
55
default = ""

dockerfiles/Dockerfile.dev

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.1
3+
ARG GO_VERSION=1.21.2
44
ARG ALPINE_VERSION=3.17
55

66
ARG BUILDX_VERSION=0.11.2

dockerfiles/Dockerfile.lint

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.1
3+
ARG GO_VERSION=1.21.2
44
ARG ALPINE_VERSION=3.17
55
ARG GOLANGCI_LINT_VERSION=v1.54.2
66

dockerfiles/Dockerfile.vendor

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.1
3+
ARG GO_VERSION=1.21.2
44
ARG ALPINE_VERSION=3.17
55
ARG MODOUTDATED_VERSION=v0.8.0
66

e2e/testdata/Dockerfile.gencerts

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.1
3+
ARG GO_VERSION=1.21.2
44

55
FROM golang:${GO_VERSION}-alpine AS generated
66
ENV GOTOOLCHAIN=local

0 commit comments

Comments
 (0)