diff --git a/.changelog/18742.txt b/.changelog/18742.txt new file mode 100644 index 0000000000..2d31e52667 --- /dev/null +++ b/.changelog/18742.txt @@ -0,0 +1,8 @@ +```release-note:security +Upgrade to use Go 1.20.8. This resolves CVEs +[CVE-2023-39320](https://github.com/advisories/GHSA-rxv8-v965-v333) (`cmd/go`), +[CVE-2023-39318](https://github.com/advisories/GHSA-vq7j-gx56-rxjh) (`html/template`), +[CVE-2023-39319](https://github.com/advisories/GHSA-vv9m-32rr-3g55) (`html/template`), +[CVE-2023-39321](https://github.com/advisories/GHSA-9v7r-x7cv-v437) (`crypto/tls`), and +[CVE-2023-39322](https://github.com/advisories/GHSA-892h-r6cr-53g4) (`crypto/tls`) +``` \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6b22c004e..7f741c3b9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,15 +81,15 @@ jobs: strategy: matrix: include: - - {go: "1.20.7", goos: "linux", goarch: "386"} - - {go: "1.20.7", goos: "linux", goarch: "amd64"} - - {go: "1.20.7", goos: "linux", goarch: "arm"} - - {go: "1.20.7", goos: "linux", goarch: "arm64"} - - {go: "1.20.7", goos: "freebsd", goarch: "386"} - - {go: "1.20.7", goos: "freebsd", goarch: "amd64"} - - {go: "1.20.7", goos: "windows", goarch: "386"} - - {go: "1.20.7", goos: "windows", goarch: "amd64"} - - {go: "1.20.7", goos: "solaris", goarch: "amd64"} + - {go: "1.20.8", goos: "linux", goarch: "386"} + - {go: "1.20.8", goos: "linux", goarch: "amd64"} + - {go: "1.20.8", goos: "linux", goarch: "arm"} + - {go: "1.20.8", goos: "linux", goarch: "arm64"} + - {go: "1.20.8", goos: "freebsd", goarch: "386"} + - {go: "1.20.8", goos: "freebsd", goarch: "amd64"} + - {go: "1.20.8", goos: "windows", goarch: "386"} + - {go: "1.20.8", goos: "windows", goarch: "amd64"} + - {go: "1.20.8", goos: "solaris", goarch: "amd64"} fail-fast: true name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build @@ -178,7 +178,7 @@ jobs: matrix: goos: [ darwin ] goarch: [ "amd64", "arm64" ] - go: [ "1.20.7" ] + go: [ "1.20.8" ] fail-fast: true name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build diff --git a/build-support/docker/Build-Go.dockerfile b/build-support/docker/Build-Go.dockerfile index c5b3c8394e..f8704065d4 100644 --- a/build-support/docker/Build-Go.dockerfile +++ b/build-support/docker/Build-Go.dockerfile @@ -1,7 +1,7 @@ # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 -ARG GOLANG_VERSION=1.20.7 +ARG GOLANG_VERSION=1.20.8 FROM golang:${GOLANG_VERSION} WORKDIR /consul