Skip to content

Commit 5c9a844

Browse files
authored
Merge pull request #731 from fluxcd/update-deps-cves
Update Alpine to v3.16
2 parents 18e8634 + 7fc9798 commit 5c9a844

File tree

3 files changed

+66
-310
lines changed

3 files changed

+66
-310
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ RUN export $(cat build/musl/$(xx-info alpine-arch).env | xargs) && \
9494
RUN xx-verify --static /source-controller
9595

9696

97-
FROM alpine:3.15
97+
FROM alpine:3.16
9898

9999
ARG TARGETPLATFORM
100100
RUN apk --no-cache add ca-certificates \

go.mod

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.17
55
replace github.com/fluxcd/source-controller/api => ./api
66

77
require (
8-
cloud.google.com/go/storage v1.22.0
8+
cloud.google.com/go/storage v1.22.1
99
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0
1010
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.2
1111
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0
@@ -14,18 +14,18 @@ require (
1414
// maintained by the ProtonMail team to continue to support the openpgp
1515
// module, after the Go team decided to no longer maintain it.
1616
// When in doubt (and not using openpgp), use /x/crypto.
17-
github.com/ProtonMail/go-crypto v0.0.0-20220407094043-a94812496cf5
17+
github.com/ProtonMail/go-crypto v0.0.0-20220517143526-88bb52951d5b
1818
github.com/cyphar/filepath-securejoin v0.2.3
1919
github.com/darkowlzz/controller-check v0.0.0-20220325122359-11f5827b7981
20-
github.com/distribution/distribution/v3 v3.0.0-20211118083504-a29a3c99a684
21-
github.com/docker/cli v20.10.11+incompatible
20+
github.com/distribution/distribution/v3 v3.0.0-20220516112011-c202b9b0d7b7
21+
github.com/docker/cli v20.10.16+incompatible
2222
github.com/docker/go-units v0.4.0
2323
github.com/elazarl/goproxy v0.0.0-20220417044921-416226498f94
24-
github.com/fluxcd/gitkit v0.5.0
24+
github.com/fluxcd/gitkit v0.5.1
2525
github.com/fluxcd/pkg/apis/meta v0.14.1
2626
github.com/fluxcd/pkg/gittestserver v0.5.3
2727
github.com/fluxcd/pkg/gitutil v0.1.0
28-
github.com/fluxcd/pkg/helmtestserver v0.5.0
28+
github.com/fluxcd/pkg/helmtestserver v0.7.2
2929
github.com/fluxcd/pkg/lockedfile v0.1.0
3030
github.com/fluxcd/pkg/runtime v0.16.1
3131
github.com/fluxcd/pkg/ssh v0.3.4
@@ -41,41 +41,24 @@ require (
4141
github.com/minio/minio-go/v7 v7.0.26
4242
github.com/onsi/gomega v1.19.0
4343
github.com/otiai10/copy v1.7.0
44-
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
45-
github.com/prometheus/client_golang v1.12.1
44+
github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5
45+
github.com/prometheus/client_golang v1.12.2
4646
github.com/spf13/pflag v1.0.5
47-
golang.org/x/crypto v0.0.0-20220507011949-2cf3adece122
48-
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4
49-
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
50-
google.golang.org/api v0.79.0
47+
golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898
48+
golang.org/x/net v0.0.0-20220524220425-1d687d428aca
49+
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29
50+
google.golang.org/api v0.81.0
5151
gotest.tools v2.2.0+incompatible
5252
helm.sh/helm/v3 v3.9.0
5353
k8s.io/api v0.24.0
5454
k8s.io/apimachinery v0.24.0
5555
k8s.io/client-go v0.24.0
5656
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
57-
sigs.k8s.io/cli-utils v0.30.0
57+
sigs.k8s.io/cli-utils v0.31.1
5858
sigs.k8s.io/controller-runtime v0.11.2
5959
sigs.k8s.io/yaml v1.3.0
6060
)
6161

62-
// Fix GMS-2022-20
63-
replace github.com/docker/distribution => github.com/docker/distribution v2.8.0+incompatible
64-
65-
// Fix CVE-2021-30465
66-
// Fix CVE-2021-43784
67-
// Fix CVE-2019-16884
68-
// Fix GO-2021-0085
69-
// Fix GO-2021-0087
70-
replace github.com/opencontainers/runc => github.com/opencontainers/runc v1.1.0
71-
72-
// Fix CVE-2021-41190
73-
replace github.com/opencontainers/image-spec => github.com/opencontainers/image-spec v1.0.2
74-
75-
// Fix CVE-2022-23648
76-
// Fix CVE-2021-43816
77-
replace github.com/containerd/containerd => github.com/containerd/containerd v1.6.1
78-
7962
// Fix CVE-2022-28948
8063
replace gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.0
8164

@@ -140,7 +123,7 @@ require (
140123
github.com/google/go-cmp v0.5.8 // indirect
141124
github.com/google/gofuzz v1.2.0 // indirect
142125
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
143-
github.com/googleapis/gax-go/v2 v2.3.0 // indirect
126+
github.com/googleapis/gax-go/v2 v2.4.0 // indirect
144127
github.com/googleapis/go-type-adapters v1.0.0 // indirect
145128
github.com/gorilla/handlers v1.5.1 // indirect
146129
github.com/gorilla/mux v1.8.0 // indirect
@@ -215,15 +198,15 @@ require (
215198
go.uber.org/multierr v1.6.0 // indirect
216199
go.uber.org/zap v1.21.0 // indirect
217200
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect
218-
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
201+
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
219202
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
220203
golang.org/x/text v0.3.7 // indirect
221204
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
222-
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
205+
golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect
223206
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
224207
google.golang.org/appengine v1.6.7 // indirect
225-
google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3 // indirect
226-
google.golang.org/grpc v1.46.0 // indirect
208+
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
209+
google.golang.org/grpc v1.46.2 // indirect
227210
google.golang.org/protobuf v1.28.0 // indirect
228211
gopkg.in/inf.v0 v0.9.1 // indirect
229212
gopkg.in/ini.v1 v1.66.2 // indirect

0 commit comments

Comments
 (0)