Skip to content

Commit d2639a8

Browse files
committed
update golang to 1.18.3
go1.18.3 (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 compiler, and the crypto/tls and text/template/parse packages. See the Go 1.18.3 milestone on our issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.18.3+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 335decc commit d2639a8

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Go 1.18
1111
uses: actions/setup-go@v2
1212
with:
13-
go-version: 1.18.2
13+
go-version: 1.18.3
1414
id: go
1515

1616
- name: Checkout code into the Go module directory

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go 1.18
2323
uses: actions/setup-go@v2
2424
with:
25-
go-version: 1.18.2
25+
go-version: 1.18.3
2626
id: go
2727

2828
- name: Checkout code into the Go module directory
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up Go 1.18
5050
uses: actions/setup-go@v2
5151
with:
52-
go-version: 1.18.2
52+
go-version: 1.18.3
5353
id: go
5454

5555
- name: Checkout code into the Go module directory
@@ -74,7 +74,7 @@ jobs:
7474
- name: Set up Go 1.18
7575
uses: actions/setup-go@v2
7676
with:
77-
go-version: 1.18.2
77+
go-version: 1.18.3
7878
id: go
7979

8080
- name: Setup docker CLI
@@ -110,7 +110,7 @@ jobs:
110110
- name: Set up Go 1.18
111111
uses: actions/setup-go@v2
112112
with:
113-
go-version: 1.18.2
113+
go-version: 1.18.3
114114
id: go
115115

116116
- name: Setup docker CLI

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go 1.18
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: 1.18.2
17+
go-version: 1.18.3
1818
id: go
1919

2020
- name: Setup docker CLI

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
ARG GO_VERSION=1.18.2-alpine
18+
ARG GO_VERSION=1.18.3-alpine
1919
ARG GOLANGCI_LINT_VERSION=v1.40.1-alpine
2020
ARG PROTOC_GEN_GO_VERSION=v1.4.3
2121

docs/docs.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
ARG GO_VERSION=1.18.2
18+
ARG GO_VERSION=1.18.3
1919
ARG FORMATS=md,yaml
2020

2121
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION}-alpine AS docsgen

0 commit comments

Comments
 (0)