Update Go to 1.20.6,1.19.11

go1.20.6 (released 2023-07-11) includes a security fix to the net/http
package, as well as bug fixes to the compiler, cgo, the cover tool, the
go command, the runtime, and the crypto/ecdsa, go/build, go/printer,
net/mail, and text/template packages. See the Go 1.20.6 milestone on
our issue tracker for details.

https://github.com/golang/go/issues?q=milestone%3AGo1.20.6+label%3ACherryPickApproved

Full diff: https://github.com/golang/go/compare/go1.20.5...go1.20.6

These minor releases include 1 security fixes following the security policy:

- net/http: insufficient sanitization of Host header

The HTTP/1 client did not fully validate the contents of the Host header.
A maliciously crafted Host header could inject additional headers or
entire requests. The HTTP/1 client now refuses to send requests containing
an invalid Request.Host or Request.URL.Host value.

Thanks to Bartek Nowotarski for reporting this issue.

Includes security fixes for CVE-2023-29406 and Go issue https://go.dev/issue/60374

Signed-off-by: Danny Canter <danny@dcantah.dev>
This commit is contained in:
Danny Canter
2023-07-11 14:34:23 -07:00
parent 3c250cb508
commit 52ef3468bc
9 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20.5"
go-version: "1.20.6"
- uses: actions/checkout@v3
with:

View File

@@ -9,7 +9,7 @@ on:
env:
# Go version we currently use to build containerd across all CI.
# Note: don't forget to update `Binaries` step, as it contains the matrix of all supported Go versions.
GO_VERSION: "1.20.5"
GO_VERSION: "1.20.6"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
@@ -209,7 +209,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2019, windows-2022]
go-version: ["1.20.5", "1.19.10"]
go-version: ["1.20.6", "1.19.11"]
steps:
- uses: actions/setup-go@v4
with:

View File

@@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.5
go-version: 1.20.6
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View File

@@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20.5"
go-version: "1.20.6"
- uses: actions/checkout@v3
with:

View File

@@ -7,7 +7,7 @@ on:
- ".github/workflows/nightly.yml"
env:
GO_VERSION: "1.20.5"
GO_VERSION: "1.20.6"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read

View File

@@ -13,7 +13,7 @@ on:
name: Release
env:
GO_VERSION: "1.20.5"
GO_VERSION: "1.20.6"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read