Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit d3739cb

Browse files
committed
Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919)
full diff: golang/go@go1.12.15...go1.12.16 go1.12.16 (released 2020/01/28) includes two security fixes. One mitigates the CVE-2020-0601 certificate verification bypass on Windows. The other affects only 32-bit architectures. https://github.com/golang/go/issues?q=milestone%3AGo1.12.16+label%3ACherryPickApproved - X.509 certificate validation bypass on Windows 10 A Windows vulnerability allows attackers to spoof valid certificate chains when the system root store is in use. These releases include a mitigation for Go applications, but it’s strongly recommended that affected users install the Windows security update to protect their system. This issue is CVE-2020-0601 and Go issue golang.org/issue/36834. - Panic in crypto/x509 certificate parsing and golang.org/x/crypto/cryptobyte On 32-bit architectures, a malformed input to crypto/x509 or the ASN.1 parsing functions of golang.org/x/crypto/cryptobyte can lead to a panic. The malformed certificate can be delivered via a crypto/tls connection to a client, or to a server that accepts client certificates. net/http clients can be made to crash by an HTTPS server, while net/http servers that accept client certificates will recover the panic and are unaffected. Thanks to Project Wycheproof for providing the test cases that led to the discovery of this issue. The issue is CVE-2020-7919 and Go issue golang.org/issue/36837. This is also fixed in version v0.0.0-20200124225646-8b5121be2f68 of golang.org/x/crypto/cryptobyte. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 19fd390c364fdeda734a1a9b6cda73b6bfda975b) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 4d630fe843bc4b4bd749230f4601f7fdfe1856c5 Component: cli
1 parent a2bc745 commit d3739cb

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

components/cli/appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ clone_folder: c:\gopath\src\github.com\docker\cli
44

55
environment:
66
GOPATH: c:\gopath
7-
GOVERSION: 1.12.15
7+
GOVERSION: 1.12.16
88
DEPVERSION: v0.4.1
99

1010
install:

components/cli/dockerfiles/Dockerfile.binary-native

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.12.15
1+
ARG GO_VERSION=1.12.16
22

33
FROM golang:${GO_VERSION}-alpine
44

components/cli/dockerfiles/Dockerfile.cross

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.12.15
1+
ARG GO_VERSION=1.12.16
22

33
FROM dockercore/golang-cross:${GO_VERSION}
44
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1

components/cli/dockerfiles/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.12.15
1+
ARG GO_VERSION=1.12.16
22

33
FROM golang:${GO_VERSION}-alpine
44

components/cli/dockerfiles/Dockerfile.e2e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.12.15
1+
ARG GO_VERSION=1.12.16
22

33
# Use Debian based image as docker-compose requires glibc.
44
FROM golang:${GO_VERSION}

components/cli/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.1.3-experimental
22

3-
ARG GO_VERSION=1.12.15
3+
ARG GO_VERSION=1.12.16
44
ARG GOLANGCI_LINTER_SHA="v1.21.0"
55

66
FROM golang:${GO_VERSION}-alpine AS build

0 commit comments

Comments
 (0)