Skip to content

Commit 3f46fcc

Browse files
authored
Dependency: Fixes vulnerability CVE-2023-44487 (DoS) found in k8s.io/apimachinery (#49)
* feat: 1.23 with test fixed * feat: to 0.27.0 * feat: v0.31.3
1 parent e8808d3 commit 3f46fcc

File tree

4 files changed

+226
-348
lines changed

4 files changed

+226
-348
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20-alpine AS base
1+
FROM golang:1.23-alpine AS base
22

33
RUN set -eux \
44
&& apk --no-cache add ca-certificates \

go.mod

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module github.com/AthenZ/garm/v3
22

3-
go 1.20
3+
go 1.23
44

55
replace (
66
github.com/AthenZ/athenz => github.com/AthenZ/athenz v1.11.26
77
golang.org/x/net => golang.org/x/net v0.23.0
8-
k8s.io/client-go => k8s.io/client-go v0.26.0
8+
k8s.io/client-go => k8s.io/client-go v0.31.3
99
)
1010

1111
require (
@@ -14,56 +14,59 @@ require (
1414
github.com/ardielle/ardielle-go v1.5.2
1515
github.com/kpango/glg v1.6.15
1616
github.com/pkg/errors v0.9.1
17-
github.com/stretchr/testify v1.8.4
17+
github.com/stretchr/testify v1.9.0
1818
github.com/yahoo/athenz v1.9.31
1919
github.com/yahoo/k8s-athenz-syncer v0.1.8
2020
gopkg.in/yaml.v2 v2.4.0
21-
k8s.io/api v0.26.14
22-
k8s.io/apimachinery v0.26.14
23-
k8s.io/client-go v0.26.14
21+
k8s.io/api v0.31.3
22+
k8s.io/apimachinery v0.31.3
23+
k8s.io/client-go v0.31.3
2424
)
2525

2626
require (
27-
github.com/davecgh/go-spew v1.1.1 // indirect
28-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
29-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
30-
github.com/go-logr/logr v1.2.3 // indirect
31-
github.com/go-openapi/jsonpointer v0.19.5 // indirect
32-
github.com/go-openapi/jsonreference v0.20.0 // indirect
33-
github.com/go-openapi/swag v0.19.14 // indirect
27+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
28+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
29+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
30+
github.com/go-logr/logr v1.4.2 // indirect
31+
github.com/go-openapi/jsonpointer v0.19.6 // indirect
32+
github.com/go-openapi/jsonreference v0.20.2 // indirect
33+
github.com/go-openapi/swag v0.22.4 // indirect
3434
github.com/goccy/go-json v0.10.2 // indirect
3535
github.com/gogo/protobuf v1.3.2 // indirect
36-
github.com/golang/protobuf v1.5.3 // indirect
37-
github.com/google/gnostic v0.5.7-v3refs // indirect
36+
github.com/golang/protobuf v1.5.4 // indirect
37+
github.com/google/gnostic-models v0.6.8 // indirect
3838
github.com/google/go-cmp v0.6.0 // indirect
3939
github.com/google/gofuzz v1.2.0 // indirect
40+
github.com/google/uuid v1.6.0 // indirect
4041
github.com/josharian/intern v1.0.0 // indirect
4142
github.com/json-iterator/go v1.1.12 // indirect
4243
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
4344
github.com/kpango/fastime v1.1.9 // indirect
4445
github.com/kpango/gache v1.2.8 // indirect
45-
github.com/mailru/easyjson v0.7.6 // indirect
46+
github.com/mailru/easyjson v0.7.7 // indirect
4647
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4748
github.com/modern-go/reflect2 v1.0.2 // indirect
4849
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
4950
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
50-
github.com/pmezard/go-difflib v1.0.0 // indirect
51+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
52+
github.com/rogpeppe/go-internal v1.13.1 // indirect
53+
github.com/x448/float16 v0.8.4 // indirect
5154
github.com/zeebo/xxh3 v1.0.2 // indirect
52-
golang.org/x/net v0.23.0 // indirect
53-
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
54-
golang.org/x/sync v0.4.0 // indirect
55-
golang.org/x/sys v0.18.0 // indirect
56-
golang.org/x/term v0.18.0 // indirect
57-
golang.org/x/text v0.14.0 // indirect
58-
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
59-
google.golang.org/appengine v1.6.7 // indirect
60-
google.golang.org/protobuf v1.31.0 // indirect
55+
golang.org/x/net v0.26.0 // indirect
56+
golang.org/x/oauth2 v0.21.0 // indirect
57+
golang.org/x/sync v0.7.0 // indirect
58+
golang.org/x/sys v0.21.0 // indirect
59+
golang.org/x/term v0.21.0 // indirect
60+
golang.org/x/text v0.16.0 // indirect
61+
golang.org/x/time v0.3.0 // indirect
62+
google.golang.org/protobuf v1.34.2 // indirect
63+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
6164
gopkg.in/inf.v0 v0.9.1 // indirect
6265
gopkg.in/yaml.v3 v3.0.1 // indirect
63-
k8s.io/klog/v2 v2.80.1 // indirect
64-
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
65-
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
66-
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
67-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
68-
sigs.k8s.io/yaml v1.3.0 // indirect
66+
k8s.io/klog/v2 v2.130.1 // indirect
67+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
68+
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
69+
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
70+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
71+
sigs.k8s.io/yaml v1.4.0 // indirect
6972
)

0 commit comments

Comments
 (0)