Skip to content

Commit b512c23

Browse files
committed
Update Golang 1.13.7 (CVE-2020-0601, CVE-2020-7919)
full diff: golang/go@go1.13.6...go1.13.7 go1.13.7 (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.13.7+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 <[email protected]> (cherry picked from commit 32ba75f) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 420a25f commit b512c23

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
GOPATH: C:\gopath
1414
CGO_ENABLED: 1
1515
matrix:
16-
- GO_VERSION: 1.13.6
16+
- GO_VERSION: 1.13.7
1717

1818
before_build:
1919
- choco install -y mingw --version 5.3.0

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ os:
1010
- linux
1111

1212
go:
13-
- "1.13.6"
13+
- "1.13.7"
1414

1515
env:
1616
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic GOPROXY=direct

contrib/Dockerfile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# 3.) $ make binaries install test
77
#
88

9-
ARG GOLANG_VERSION=1.13.6
9+
ARG GOLANG_VERSION=1.13.7
1010

1111
FROM golang:${GOLANG_VERSION} AS golang-base
1212
RUN mkdir -p /go/src/github.com/containerd/containerd

0 commit comments

Comments
 (0)