Skip to content

Commit 12bf41f

Browse files
authored
fix(security): update go to 1.18.4 (#2706)
This fixes the following CVEs in go CVE-2022-1705: net/http: improper sanitization of Transfer-Encoding header (medium) CVE-2022-1962: go/parser: stack exhaustion in all Parse* functions (negligible) CVE-2022-28131: encoding/xml: stack exhaustion in Decoder.Skip (medium) CVE-2022-30630: io/fs: stack exhaustion in Glob (medium) CVE-2022-30631: compress/gzip: stack exhaustion in Reader.Read (medium) CVE-2022-30632: path/filepath: stack exhaustion in Glob (medium) CVE-2022-30633: encoding/xml: stack exhaustion in Unmarshal (medium) CVE-2022-30635: encoding/gob: stack exhaustion in Decoder.Decode (medium) CVE-2022-32148: When httputil.ReverseProxy.ServeHTTP was called with a Request.Header map (low)
1 parent 70eade7 commit 12bf41f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ executors:
77
# NOTE: To upgrade the Go version, first push the upgrade to the cross-builder Dockerfile in the edge repo,
88
# then update the version here to match. Until we finish the migration to using the cross-builder image,
99
# you'll also need to update references to `cimg/go` and `GO_VERSION` in this file.
10-
- image: quay.io/influxdb/cross-builder:go1.18.3-c75d304717395a43913dcc3d576d4f3545375253
10+
- image: quay.io/influxdb/cross-builder:go1.18.4-906fbe93f953b47185818364a186604209dc8da0
1111
resource_class: large
1212
linux-amd64:
1313
machine:

Diff for: Dockerfile_build_ubuntu64

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG GO_VERSION
2-
FROM quay.io/influxdb/cross-builder:go${GO_VERSION}-19532d83ff625362c07ca99eee6ea2e1d6bdc22e
2+
FROM quay.io/influxdb/cross-builder:go${GO_VERSION}-906fbe93f953b47185818364a186604209dc8da0
33

44
# This dockerfile is capabable of performing all
55
# build/test/package/deploy actions needed for Kapacitor.

0 commit comments

Comments
 (0)