[20.10] update go to go1.19.11

go1.19.11 (released 2023-07-11) includes a security fix to the net/http package,
as well as bug fixes to cgo, the cover tool, the go command, the runtime, and
the go/printer package. See the Go 1.19.11 milestone on our issue tracker for
details:

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

Full diff: https://github.com/golang/go/compare/go1.19.10...go1.19.11

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 ][1] and Go issue https://go.dev/issue/60374

[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-07-17 16:29:40 +02:00
parent 15a103dff6
commit 9b21793890
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
7 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG BASE_VARIANT=alpine ARG BASE_VARIANT=alpine
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.19.11
ARG ALPINE_VERSION=3.17 ARG ALPINE_VERSION=3.17
ARG XX_VERSION=1.1.0 ARG XX_VERSION=1.1.0

View File

@ -4,7 +4,7 @@ clone_folder: c:\gopath\src\github.com\docker\cli
environment: environment:
GOPATH: c:\gopath GOPATH: c:\gopath
GOVERSION: 1.19.10 GOVERSION: 1.19.11
DEPVERSION: v0.4.1 DEPVERSION: v0.4.1
install: install:

View File

@ -1,5 +1,5 @@
variable "GO_VERSION" { variable "GO_VERSION" {
default = "1.19.10" default = "1.19.11"
} }
variable "VERSION" { variable "VERSION" {
default = "" default = ""

View File

@ -1,4 +1,4 @@
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.19.11
FROM golang:${GO_VERSION}-alpine FROM golang:${GO_VERSION}-alpine

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.19.11
ARG ALPINE_VERSION=3.17 ARG ALPINE_VERSION=3.17
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS golang FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS golang

View File

@ -1,4 +1,4 @@
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.19.11
# Use Debian based image as docker-compose requires glibc. # Use Debian based image as docker-compose requires glibc.
FROM golang:${GO_VERSION}-bullseye FROM golang:${GO_VERSION}-bullseye

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.19.11
ARG ALPINE_VERSION=3.17 ARG ALPINE_VERSION=3.17
ARG GOLANGCI_LINT_VERSION=v1.49.0 ARG GOLANGCI_LINT_VERSION=v1.49.0