Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade kube-openapi Fixes #9149 #9235

Merged
merged 12 commits into from
Jul 29, 2022

Conversation

mcgrawia
Copy link
Contributor

Signed-off-by: Ian McGraw mcgrawia@umich.edu

Fixes #9149 CVE-2022-1996

v3 Outdated
@@ -0,0 +1 @@
.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @terrytangyuan, the v3 file came from the output of the make pre-commit -B command the pull request instructions said to run first. I can remove though 👍

@@ -26,3 +27,4 @@ func (s *SharedIndexInformer) LastSyncResourceVersion() string
func (s *SharedIndexInformer) AddIndexers(cache.Indexers) error { return nil }
func (s *SharedIndexInformer) GetIndexer() cache.Indexer { return s.Indexer }
func (s *SharedIndexInformer) SetWatchErrorHandler(handler cache.WatchErrorHandler) error { return nil }
func (s *SharedIndexInformer) SetTransform(handler cache.TransformFunc) error { panic("implement me") }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was a new function added to the SharedIndexInformer interface in k8s client-go v0.24.3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe return nil?

@mcgrawia mcgrawia force-pushed the fix-CVE-2022-1996 branch 2 times, most recently from 391d567 to 12f55a6 Compare July 26, 2022 22:42
@mcgrawia
Copy link
Contributor Author

@terrytangyuan can I get some help on how to resolve the Codegen issue? I attempted to run the command in the pull request template make pre-commit -B, but it doesn't seem to have changed anything except making the empty v3 file you had me remove above. Thanks

@terrytangyuan
Copy link
Member

When you ran the command, did you see any errors?

@mcgrawia
Copy link
Contributor Author

I didn't realize it the first time but it looks like there are some, although I'm not sure what the fix should be. Here's the full log:

 make pre-commit -B                                                                              
GIT_COMMIT=12f55a6bde9a5090ae9101e5ebdbee371dc0f752 GIT_BRANCH=fix-CVE-2022-1996 GIT_TAG=untagged GIT_TREE_STATE=clean RELEASE_TAG=false DEV_BRANCH=true VERSION=latest
KUBECTX=docker-desktop DOCKER_DESKTOP=true K3D=false DOCKER_PUSH=false
RUN_MODE=local PROFILE=minimal AUTH_MODE=hybrid SECURE=false STATIC_FILES=false ALWAYS_OFFLOAD_NODE_STATUS=false UPPERIO_DB_DEBUG=0 LOG_LEVEL=debug NAMESPACED=true AZURE=false
⚠️ Code generation will not work if code in not checked out into /Users/ianmcgraw/go/src/github.com/argoproj/argo-workflows
go install k8s.io/code-generator/cmd/go-to-protobuf@v0.21.5
go install github.com/gogo/protobuf/protoc-gen-gogo@v1.3.2
go install github.com/gogo/protobuf/protoc-gen-gogofast@v1.3.2
go install golang.org/x/tools/cmd/goimports@v0.1.7
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v1.16.0
brew install clang-format
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 4 taps (aquasecurity/trivy, homebrew/cask-versions, homebrew/core and homebrew/cask).
==> New Formulae
dura
==> New Casks
polypad

You have 70 outdated formulae and 1 outdated cask installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

Warning: clang-format 14.0.6 is already installed and up-to-date.
To reinstall 14.0.6, run:
  brew reinstall clang-format
[ -e /Users/ianmcgraw/go/src/github.com/gogo/protobuf ] || git clone --depth 1 https://github.com/gogo/protobuf.git -b v1.3.2 /Users/ianmcgraw/go/src/github.com/gogo/protobuf
# These files are generated on a v3/ folder by the tool. Link them to the root folder
[ -e ./v3 ] || ln -s . v3
# Format proto files. Formatting changes generated code, so we do it here, rather that at lint time.
# Why clang-format? Google uses it.
find pkg/apiclient -name '*.proto'|xargs clang-format -i
/Users/ianmcgraw/go/bin/go-to-protobuf \
                --go-header-file=./hack/custom-boilerplate.go.txt \
                --packages=github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1 \
                --apimachinery-packages=+k8s.io/apimachinery/pkg/util/intstr,+k8s.io/apimachinery/pkg/api/resource,k8s.io/apimachinery/pkg/runtime/schema,+k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1,k8s.io/api/policy/v1beta1 \
                --proto-import /Users/ianmcgraw/go/src
topological order bytes
topological order encoding/base64
topological order encoding/json
topological order errors
topological order fmt
topological order github.com/argoproj/argo-workflows/v3/errors
topological order github.com/argoproj/argo-workflows/v3/pkg/apis/workflow
topological order github.com/argoproj/argo-workflows/v3/util/json
topological order github.com/argoproj/argo-workflows/v3/util/slice
topological order github.com/gogo/protobuf/proto
topological order github.com/gogo/protobuf/sortkeys
topological order github.com/google/gofuzz
topological order go/ast
topological order go/doc
topological order go/parser
topological order go/token
topological order gopkg.in/inf.v0
topological order hash/fnv
topological order io
topological order io/ioutil
topological order k8s.io/apimachinery/pkg/conversion
topological order k8s.io/apimachinery/pkg/conversion/queryparams
topological order k8s.io/apimachinery/pkg/fields
topological order k8s.io/apimachinery/pkg/labels
topological order k8s.io/apimachinery/pkg/selection
topological order k8s.io/apimachinery/pkg/types
topological order k8s.io/apimachinery/pkg/util/errors
topological order k8s.io/apimachinery/pkg/util/json
topological order k8s.io/apimachinery/pkg/util/naming
topological order k8s.io/apimachinery/pkg/util/runtime
topological order k8s.io/apimachinery/pkg/util/sets
topological order k8s.io/apimachinery/pkg/util/validation
topological order k8s.io/apimachinery/pkg/util/wait
topological order k8s.io/apimachinery/pkg/watch
topological order k8s.io/klog/v2
topological order k8s.io/kube-openapi/pkg/common
topological order k8s.io/kube-openapi/pkg/validation/spec
topological order math
topological order math/big
topological order math/bits
topological order net/http
topological order net/url
topological order os
topological order path
topological order path/filepath
topological order reflect
topological order regexp
topological order runtime/debug
topological order sigs.k8s.io/structured-merge-diff/v4/value
topological order sigs.k8s.io/yaml
topological order sort
topological order strconv
topological order strings
topological order sync
topological order sync/atomic
topological order time
topological order unsafe
topological order k8s.io/apimachinery/pkg/runtime/schema
topological order k8s.io/apimachinery/pkg/util/intstr
topological order k8s.io/apimachinery/pkg/api/resource
topological order k8s.io/apimachinery/pkg/runtime
topological order k8s.io/apimachinery/pkg/apis/meta/v1
topological order k8s.io/api/core/v1
topological order k8s.io/api/policy/v1beta1
topological order github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1
2022/07/27 10:10:33 /Users/ianmcgraw/dev/argo-workflows/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.proto: File does not reside within any path specified using --proto_path (or -I).  You must specify a --proto_path which encompasses this file.  Note that the proto_path must be an exact prefix of the .proto file names -- protoc is too dumb to figure out when two paths (e.g. absolute and relative) are equivalent (it's harder than you think).
2022/07/27 10:10:33 protoc -I . -I /Users/ianmcgraw/go/src -I /Users/ianmcgraw/go/src --gogo_out=/Users/ianmcgraw/go/src /Users/ianmcgraw/dev/argo-workflows/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.proto
2022/07/27 10:10:33 Unable to generate protoc on k8s.io.apimachinery.pkg.util.intstr: exit status 1
make: *** [pkg/apis/workflow/v1alpha1/generated.proto] Error 1

@mcgrawia
Copy link
Contributor Author

mcgrawia commented Jul 27, 2022

also when I check out the code according to that warning above into the folder /Users/ianmcgraw/go/src/github.com/argoproj/argo-workflows, I get the following errors:

 make pre-commit -B
GIT_COMMIT=12f55a6bde9a5090ae9101e5ebdbee371dc0f752 GIT_BRANCH=fix-CVE-2022-1996 GIT_TAG=untagged GIT_TREE_STATE=clean RELEASE_TAG=false DEV_BRANCH=true VERSION=latest
KUBECTX=docker-desktop DOCKER_DESKTOP=true K3D=false DOCKER_PUSH=false
RUN_MODE=local PROFILE=minimal AUTH_MODE=hybrid SECURE=false STATIC_FILES=false ALWAYS_OFFLOAD_NODE_STATUS=false UPPERIO_DB_DEBUG=0 LOG_LEVEL=debug NAMESPACED=true AZURE=false
⚠️ Code generation will not work if code in not checked out into /src/github.com/argoproj/argo-workflows
go install k8s.io/code-generator/cmd/go-to-protobuf@v0.21.5
go install github.com/gogo/protobuf/protoc-gen-gogo@v1.3.2
go install github.com/gogo/protobuf/protoc-gen-gogofast@v1.3.2
go install golang.org/x/tools/cmd/goimports@v0.1.7
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v1.16.0
brew install clang-format
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

You have 70 outdated formulae and 1 outdated cask installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

Warning: clang-format 14.0.6 is already installed and up-to-date.
To reinstall 14.0.6, run:
  brew reinstall clang-format
[ -e /Users/ianmcgraw/go/src/github.com/gogo/protobuf ] || git clone --depth 1 https://github.com/gogo/protobuf.git -b v1.3.2 /Users/ianmcgraw/go/src/github.com/gogo/protobuf
# These files are generated on a v3/ folder by the tool. Link them to the root folder
[ -e ./v3 ] || ln -s . v3
# Format proto files. Formatting changes generated code, so we do it here, rather that at lint time.
# Why clang-format? Google uses it.
find pkg/apiclient -name '*.proto'|xargs clang-format -i
/Users/ianmcgraw/go/bin/go-to-protobuf \
		--go-header-file=./hack/custom-boilerplate.go.txt \
		--packages=github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1 \
		--apimachinery-packages=+k8s.io/apimachinery/pkg/util/intstr,+k8s.io/apimachinery/pkg/api/resource,k8s.io/apimachinery/pkg/runtime/schema,+k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1,k8s.io/api/policy/v1beta1 \
		--proto-import /Users/ianmcgraw/go/src
topological order bytes
topological order encoding/base64
topological order encoding/json
topological order errors
topological order fmt
topological order github.com/argoproj/argo-workflows/v3/errors
topological order github.com/argoproj/argo-workflows/v3/pkg/apis/workflow
topological order github.com/argoproj/argo-workflows/v3/util/json
topological order github.com/argoproj/argo-workflows/v3/util/slice
topological order github.com/gogo/protobuf/proto
topological order github.com/gogo/protobuf/sortkeys
topological order github.com/google/gofuzz
topological order go/ast
topological order go/doc
topological order go/parser
topological order go/token
topological order gopkg.in/inf.v0
topological order hash/fnv
topological order io
topological order io/ioutil
topological order k8s.io/apimachinery/pkg/conversion
topological order k8s.io/apimachinery/pkg/conversion/queryparams
topological order k8s.io/apimachinery/pkg/fields
topological order k8s.io/apimachinery/pkg/labels
topological order k8s.io/apimachinery/pkg/selection
topological order k8s.io/apimachinery/pkg/types
topological order k8s.io/apimachinery/pkg/util/errors
topological order k8s.io/apimachinery/pkg/util/json
topological order k8s.io/apimachinery/pkg/util/naming
topological order k8s.io/apimachinery/pkg/util/runtime
topological order k8s.io/apimachinery/pkg/util/sets
topological order k8s.io/apimachinery/pkg/util/validation
topological order k8s.io/apimachinery/pkg/util/wait
topological order k8s.io/apimachinery/pkg/watch
topological order k8s.io/klog/v2
topological order k8s.io/kube-openapi/pkg/common
topological order k8s.io/kube-openapi/pkg/validation/spec
topological order math
topological order math/big
topological order math/bits
topological order net/http
topological order net/url
topological order os
topological order path
topological order path/filepath
topological order reflect
topological order regexp
topological order runtime/debug
topological order sigs.k8s.io/structured-merge-diff/v4/value
topological order sigs.k8s.io/yaml
topological order sort
topological order strconv
topological order strings
topological order sync
topological order sync/atomic
topological order time
topological order unsafe
topological order k8s.io/apimachinery/pkg/runtime/schema
topological order k8s.io/apimachinery/pkg/util/intstr
topological order k8s.io/apimachinery/pkg/api/resource
topological order k8s.io/apimachinery/pkg/runtime
topological order k8s.io/apimachinery/pkg/apis/meta/v1
topological order k8s.io/api/core/v1
topological order k8s.io/api/policy/v1beta1
topological order github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1
2022/07/27 10:23:39 protoc-gen-gogo: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gogo_out: protoc-gen-gogo: Plugin failed with status code 1.
2022/07/27 10:23:39 protoc -I . -I /Users/ianmcgraw/go/src -I /Users/ianmcgraw/go/src --gogo_out=/Users/ianmcgraw/go/src /Users/ianmcgraw/go/src/github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.proto
2022/07/27 10:23:39 Unable to generate protoc on k8s.io.apimachinery.pkg.util.intstr: exit status 1
make: *** [pkg/apis/workflow/v1alpha1/generated.proto] Error 1

@@ -17,7 +17,7 @@ jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sync with the master. Master has unittest improvement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sarabala1979, my PR is already based on the latest master:
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apologies, there was a new commit as of 4 hours ago I did not have, but I don't think this should affect the unittests. Rebased 👍
mcgrawia@b44981f

@terrytangyuan
Copy link
Member

protoc-gen-gogo: program not found or is not executable - looks like this binary isn't installed. Perhaps try go install github.com/gogo/protobuf/protoc-gen-gogo@v1.3.2 and then run again?

@mcgrawia
Copy link
Contributor Author

@terrytangyuan when I run that command, no output occurs, so I think it's already installed:

go install github.com/gogo/protobuf/protoc-gen-gogo@v1.3.2

I can see the binary in my ~/go/bin folder:

ls ~/go/bin
client-gen	deepcopy-gen   diagram	  go-to-protobuf  goimports  informer-gen  jsonschema  kind	   openapi-gen	    protoc-gen-gogofast      protoc-gen-swagger
controller-gen	defaulter-gen  generator  go1.18.4	  hack	     jose-util	   jwk-keygen  lister-gen  protoc-gen-gogo  protoc-gen-grpc-gateway  swagger

@mcgrawia
Copy link
Contributor Author

mcgrawia commented Jul 27, 2022

I wiped my Go installation and reinstalled everything and added ~/go/bin to my path, now I'm getting the following error:

...
topological order k8s.io/apimachinery/pkg/api/resource
topological order k8s.io/apimachinery/pkg/runtime
topological order k8s.io/apimachinery/pkg/apis/meta/v1
topological order k8s.io/api/core/v1
topological order k8s.io/api/policy/v1beta1
topological order github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1
2022/07/27 16:31:11 k8s.io/apimachinery/pkg/runtime/generated.proto: File not found.
k8s.io/apimachinery/pkg/runtime/schema/generated.proto: File not found.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:9:1: Import "k8s.io/apimachinery/pkg/runtime/generated.proto" was not found or had errors.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:10:1: Import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto" was not found or had errors.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:469:12: "k8s.io.apimachinery.pkg.runtime.RawExtension" is not defined.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:1214:12: "k8s.io.apimachinery.pkg.runtime.RawExtension" is not defined.
2022/07/27 16:31:11 protoc -I . -I /Users/ianmcgraw/go/src -I /Users/ianmcgraw/go/src --gogo_out=/Users/ianmcgraw/go/src /Users/ianmcgraw/go/src/github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
2022/07/27 16:31:11 Unable to generate protoc on k8s.io.apimachinery.pkg.apis.meta.v1: exit status 1
make: *** [pkg/apis/workflow/v1alpha1/generated.proto] Error 1

Is there documentation about how to run this process? It seems like I'm missing some basic setup

@terrytangyuan
Copy link
Member

The errors indicate that your vendor/k8s.io/apimachinery may not be updated enough. Could you try remove /vendor folder and then run go mod vendor to regenerate it before running make pre-commit again?

@mcgrawia
Copy link
Contributor Author

hi @terrytangyuan , thanks or the help. Unfortunately after deleting the vendor folder and re-running I still see the following error:

...
topological order k8s.io/api/policy/v1beta1
topological order github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1
2022/07/28 09:13:10 k8s.io/apimachinery/pkg/runtime/generated.proto: File not found.
k8s.io/apimachinery/pkg/runtime/schema/generated.proto: File not found.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:9:1: Import "k8s.io/apimachinery/pkg/runtime/generated.proto" was not found or had errors.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:10:1: Import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto" was not found or had errors.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:469:12: "k8s.io.apimachinery.pkg.runtime.RawExtension" is not defined.
github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:1214:12: "k8s.io.apimachinery.pkg.runtime.RawExtension" is not defined.
2022/07/28 09:13:10 protoc -I . -I /Users/ianmcgraw/go/src -I /Users/ianmcgraw/go/src --gogo_out=/Users/ianmcgraw/go/src /Users/ianmcgraw/go/src/github.com/argoproj/argo-workflows/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
2022/07/28 09:13:10 Unable to generate protoc on k8s.io.apimachinery.pkg.apis.meta.v1: exit status 1
make: *** [pkg/apis/workflow/v1alpha1/generated.proto] Error 1

if it helps, my GO env variables look like this:

echo $GO111MODULE $GOROOT $GOPATH 
on /usr/local/go /Users/ianmcgraw/go

@mcgrawia
Copy link
Contributor Author

@terrytangyuan would it be possible for someone on the Argo side to attempt this command and if it succeeds push the generated files to this branch? I imagine someone on the team likely already has this working so it might be easier than having me sink more hours into troubleshooting on my end.

@terrytangyuan
Copy link
Member

@terrytangyuan would it be possible for someone on the Argo side to attempt this command and if it succeeds push the generated files to this branch? I imagine someone on the team likely already has this working so it might be easier than having me sink more hours into troubleshooting on my end.

I just pushed the generated files.

@mcgrawia
Copy link
Contributor Author

thank you @terrytangyuan ! I'll see if I can get the final tests passing and hopefully we can get this merged

@terrytangyuan
Copy link
Member

terrytangyuan commented Jul 28, 2022

The build failures may not be related to your changes. I am observing similar failures in simple PRs like #9249

@mcgrawia
Copy link
Contributor Author

@terrytangyuan ok thank you for the heads up, I'll wait to hear from you for next steps

@mcgrawia
Copy link
Contributor Author

@terrytangyuan it looks like all of the tests are now passing, let me know if there's anything else I can do before we can merge this, thanks!

Also I wanted to ask, is there anything else I can do to help get this released ASAP? Is there a branch I should back-port this patch to? Not sure what would be required to release a v3.3.9.

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'd defer to @sarabala1979 @alexec regarding back-porting this.

@@ -26,3 +27,4 @@ func (s *SharedIndexInformer) LastSyncResourceVersion() string
func (s *SharedIndexInformer) AddIndexers(cache.Indexers) error { return nil }
func (s *SharedIndexInformer) GetIndexer() cache.Indexer { return s.Indexer }
func (s *SharedIndexInformer) SetWatchErrorHandler(handler cache.WatchErrorHandler) error { return nil }
func (s *SharedIndexInformer) SetTransform(handler cache.TransformFunc) error { panic("implement me") }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe return nil?

Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
mcgrawia and others added 9 commits July 29, 2022 11:43
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
@mcgrawia
Copy link
Contributor Author

thanks @alexec, changed! Will merge once CICD finishes. Any suggestions how I can help get this patched into a v3.3.9 release?

Signed-off-by: Ian McGraw <mcgrawia@umich.edu>
@mcgrawia
Copy link
Contributor Author

also @alexec @terrytangyuan @sarabala1979 I think everything should be good to go on this PR when one of you is available to merge. Thanks for the help 👍

@terrytangyuan terrytangyuan merged commit 39b7f91 into argoproj:master Jul 29, 2022
@terrytangyuan
Copy link
Member

Thank you!

@sarabala1979 Do you think we can backport this to 3.3.9 release?

@mcgrawia mcgrawia deleted the fix-CVE-2022-1996 branch July 29, 2022 17:24
@terrytangyuan terrytangyuan mentioned this pull request Jul 31, 2022
51 tasks
@mcgrawia
Copy link
Contributor Author

mcgrawia commented Aug 1, 2022

Good morning @sarabala1979, please let me know if there's anything I can help with to get a 3.3.9 release with this patch. This vulnerability is preventing us from releasing to our customers so would appreciate if we can get this out quickly. Thank you

@terrytangyuan
Copy link
Member

#9262

@mcgrawia
Copy link
Contributor Author

mcgrawia commented Aug 1, 2022

amazing, thanks @terrytangyuan ! will follow along there 👍

terrytangyuan pushed a commit that referenced this pull request Aug 2, 2022
Signed-off-by: Yuan Tang terrytangyuan@gmail.com
juchaosong pushed a commit to juchaosong/argo-workflows that referenced this pull request Nov 3, 2022
Signed-off-by: juchao <juchao@coscene.io>
reddymh pushed a commit to reddymh/argo-workflows that referenced this pull request Jan 2, 2023
Signed-off-by: Reddy <Rajshekar.Reddy@lowes.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRITICAL Vulnerability CVE-2022-1996 found in image for v3.3.8
5 participants