forked from kserve/rest-proxy
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Upgrade golang.org/x/crypto (#36)
chore: address the following CVE: - [CVE-2023-48795](https://www.cve.org/CVERecord?id=CVE-2023-48795): golang.org/x/crypto Authentication Bypass by Capture-replay --------- Signed-off-by: Spolti <[email protected]>
- Loading branch information
Showing
2 changed files
with
70 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,32 +5,44 @@ go 1.18 | |
require ( | ||
github.com/google/go-cmp v0.5.9 | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.0 | ||
google.golang.org/grpc v1.51.0 | ||
google.golang.org/protobuf v1.28.1 | ||
google.golang.org/grpc v1.54.0 | ||
google.golang.org/protobuf v1.30.0 | ||
sigs.k8s.io/controller-runtime v0.14.1 | ||
) | ||
|
||
require ( | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-logr/zapr v1.2.3 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/gofuzz v1.1.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/rogpeppe/go-internal v1.12.0 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/zap v1.24.0 // indirect | ||
golang.org/x/net v0.3.1-0.20221206200815-1e63c2f08a10 // indirect | ||
golang.org/x/sys v0.3.0 // indirect | ||
golang.org/x/text v0.5.0 // indirect | ||
google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37 // indirect | ||
golang.org/x/net v0.10.0 // indirect | ||
golang.org/x/sys v0.15.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
k8s.io/apimachinery v0.26.0 // indirect | ||
k8s.io/klog/v2 v2.80.1 // indirect | ||
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448 // indirect | ||
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect | ||
k8s.io/klog/v2 v2.90.1 // indirect | ||
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect | ||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
) | ||
|
||
replace ( | ||
// The x/crypto is pulled from golang.org/x/[email protected] | ||
// Fixes CVE-2023-48795 - golang.org/x/crypto Authentication Bypass by Capture-replay | ||
golang.org/x/crypto => golang.org/x/crypto v0.17.0 | ||
golang.org/x/net => golang.org/x/net v0.17.0 | ||
|
||
// Fixes github.com/elazarl/goproxy Denial of Service (DoS), the dependency was removed in v0.27.0 | ||
// Remove below when upgrading to controller-runtime 0.15.x or apimachinery to 0.27.x | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.27.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters