From d4709f6aa45c6273073ff988d26d734e4662869d Mon Sep 17 00:00:00 2001 From: Fred Rolland Date: Thu, 27 Apr 2023 15:03:52 +0300 Subject: [PATCH] Replace go-restful lib version Fix CVE-2022-1996 Signed-off-by: Fred Rolland --- go.mod | 2 ++ vendor/modules.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/go.mod b/go.mod index 1ef5cc9b5..3dfc759c9 100644 --- a/go.mod +++ b/go.mod @@ -158,3 +158,5 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) + +replace github.com/emicklei/go-restful => github.com/emicklei/go-restful v2.16.0+incompatible diff --git a/vendor/modules.txt b/vendor/modules.txt index 861814de6..26fef3071 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1386,3 +1386,4 @@ sigs.k8s.io/structured-merge-diff/v4/value # sigs.k8s.io/yaml v1.3.0 ## explicit; go 1.12 sigs.k8s.io/yaml +# github.com/emicklei/go-restful => github.com/emicklei/go-restful v2.16.0+incompatible