Skip to content

Commit 5c9c83d

Browse files
committed
[release/1.6] update golang to 1.17.11
go1.17.11 (released 2022-06-01) includes security fixes to the crypto/rand, crypto/tls, os/exec, and path/filepath packages, as well as bug fixes to the crypto/tls package. See the Go 1.17.11 milestone on our issue tracker for details. https://github.com/golang/go/issues?q=milestone%3AGo1.17.11+label%3ACherryPickApproved Hello gophers, We have just released Go versions 1.18.3 and 1.17.11, minor point releases. These minor releases include 4 security fixes following the security policy: - crypto/rand: rand.Read hangs with extremely large buffers On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 << 32 - 1 bytes. Thanks to Davis Goodin and Quim Muntal, working at Microsoft on the Go toolset, for reporting this issue. This is [CVE-2022-30634][CVE-2022-30634] and Go issue https://go.dev/issue/52561. - crypto/tls: session tickets lack random ticket_age_add Session tickets generated by crypto/tls did not contain a randomly generated ticket_age_add. This allows an attacker that can observe TLS handshakes to correlate successive connections by comparing ticket ages during session resumption. Thanks to GitHub user nervuri for reporting this. This is [CVE-2022-30629][CVE-2022-30629] and Go issue https://go.dev/issue/52814. - `os/exec`: empty `Cmd.Path` can result in running unintended binary on Windows If, on Windows, `Cmd.Run`, `cmd.Start`, `cmd.Output`, or `cmd.CombinedOutput` are executed when Cmd.Path is unset and, in the working directory, there are binaries named either "..com" or "..exe", they will be executed. Thanks to Chris Darroch, brian m. carlson, and Mikhail Shcherbakov for reporting this. This is [CVE-2022-30580][CVE-2022-30580] and Go issue https://go.dev/issue/52574. - `path/filepath`: Clean(`.\c:`) returns `c:` on Windows On Windows, the `filepath.Clean` function could convert an invalid path to a valid, absolute path. For example, Clean(`.\c:`) returned `c:`. Thanks to Unrud for reporting this issue. This is [CVE-2022-29804][CVE-2022-29804] and Go issue https://go.dev/issue/52476. [CVE-2022-30634]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30634 [CVE-2022-30629]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30629 [CVE-2022-30580]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30580 [CVE-2022-29804]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29804 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent ae3c2ac commit 5c9c83d

12 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/build-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: actions/setup-go@v2
4141
with:
42-
go-version: '1.17.10'
42+
go-version: '1.17.11'
4343

4444
- uses: actions/checkout@v2
4545
with:

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
go-version: [1.17.10]
23+
go-version: [1.17.11]
2424
os: [ubuntu-18.04, macos-10.15, windows-2019]
2525

2626
steps:
@@ -46,7 +46,7 @@ jobs:
4646
steps:
4747
- uses: actions/setup-go@v2
4848
with:
49-
go-version: '1.17.10'
49+
go-version: '1.17.11'
5050

5151
- uses: actions/checkout@v2
5252
with:
@@ -78,7 +78,7 @@ jobs:
7878
steps:
7979
- uses: actions/setup-go@v2
8080
with:
81-
go-version: '1.17.10'
81+
go-version: '1.17.11'
8282

8383
- uses: actions/checkout@v2
8484
with:
@@ -110,7 +110,7 @@ jobs:
110110
steps:
111111
- uses: actions/setup-go@v2
112112
with:
113-
go-version: '1.17.10'
113+
go-version: '1.17.11'
114114
- uses: actions/checkout@v2
115115
- run: go install github.com/cpuguy83/go-md2man/[email protected]
116116
- run: make man
@@ -144,7 +144,7 @@ jobs:
144144
steps:
145145
- uses: actions/setup-go@v2
146146
with:
147-
go-version: '1.17.10'
147+
go-version: '1.17.11'
148148
- uses: actions/checkout@v2
149149
- run: |
150150
set -e -x
@@ -201,7 +201,7 @@ jobs:
201201
strategy:
202202
matrix:
203203
os: [ubuntu-18.04, macos-10.15, windows-2019, windows-2022]
204-
go-version: ['1.16.15', '1.17.10']
204+
go-version: ['1.16.15', '1.17.11']
205205

206206
steps:
207207
- uses: actions/setup-go@v2
@@ -248,7 +248,7 @@ jobs:
248248
steps:
249249
- uses: actions/setup-go@v2
250250
with:
251-
go-version: '1.17.10'
251+
go-version: '1.17.11'
252252

253253
- uses: actions/checkout@v2
254254
with:
@@ -330,7 +330,7 @@ jobs:
330330
steps:
331331
- uses: actions/setup-go@v2
332332
with:
333-
go-version: '1.17.10'
333+
go-version: '1.17.11'
334334

335335
- uses: actions/checkout@v2
336336

@@ -449,7 +449,7 @@ jobs:
449449
steps:
450450
- uses: actions/setup-go@v2
451451
with:
452-
go-version: '1.17.10'
452+
go-version: '1.17.11'
453453
- uses: actions/checkout@v2
454454
- run: sudo -E PATH=$PATH script/setup/install-gotestsum
455455
- name: Tests

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: actions/setup-go@v2
2828
with:
29-
go-version: 1.17.10
29+
go-version: 1.17.11
3030

3131
# Initializes the CodeQL tools for scanning.
3232
- name: Initialize CodeQL

.github/workflows/images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/setup-go@v2
2626
with:
27-
go-version: '1.17.10'
27+
go-version: '1.17.11'
2828

2929
- uses: actions/checkout@v2
3030
with:

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/setup-go@v2
2020
with:
21-
go-version: '1.17.10'
21+
go-version: '1.17.11'
2222

2323
- uses: actions/checkout@v2
2424
with:
@@ -135,7 +135,7 @@ jobs:
135135
steps:
136136
- uses: actions/setup-go@v2
137137
with:
138-
go-version: '1.17.10'
138+
go-version: '1.17.11'
139139

140140
- uses: actions/checkout@v2
141141
with:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Install Go
6565
uses: actions/setup-go@v2
6666
with:
67-
go-version: '1.17.10'
67+
go-version: '1.17.11'
6868
- name: Set env
6969
shell: bash
7070
env:
@@ -107,7 +107,7 @@ jobs:
107107
find ./releases/ -maxdepth 1 -type l | xargs rm
108108
working-directory: src/github.com/containerd/containerd
109109
env:
110-
GO_VERSION: '1.17.10'
110+
GO_VERSION: '1.17.11'
111111
PLATFORM: ${{ matrix.platform }}
112112
- name: Save Artifacts
113113
uses: actions/upload-artifact@v2

.zuul/playbooks/containerd-build/integration-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
become: yes
33
roles:
44
- role: config-golang
5-
go_version: '1.17.10'
5+
go_version: '1.17.11'
66
arch: arm64
77
tasks:
88
- name: Install pre-requisites

.zuul/playbooks/containerd-build/run.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
become: yes
33
roles:
44
- role: config-golang
5-
go_version: '1.17.10'
5+
go_version: '1.17.11'
66
arch: arm64
77
tasks:
88
- name: Build containerd

.zuul/playbooks/containerd-build/unit-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
become: yes
33
roles:
44
- role: config-golang
5-
go_version: '1.17.10'
5+
go_version: '1.17.11'
66
arch: arm64
77
tasks:
88
- name: Build and test containerd

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ EOF
9191
config.vm.provision "install-golang", type: "shell", run: "once" do |sh|
9292
sh.upload_path = "/tmp/vagrant-install-golang"
9393
sh.env = {
94-
'GO_VERSION': ENV['GO_VERSION'] || "1.17.10",
94+
'GO_VERSION': ENV['GO_VERSION'] || "1.17.11",
9595
}
9696
sh.inline = <<~SHELL
9797
#!/usr/bin/env bash

0 commit comments

Comments
 (0)