-
Notifications
You must be signed in to change notification settings - Fork 24
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
update the deps to latest levels #6
Comments
Upgrading k8s.io/kubernetes v1.22.3 creates below issue.
|
No patch available to solve vulnerabilities in Golang-jwt package. But, unable to upgrade to version 3.2.1
Even updating the Golang-jwt package to the latest version shows the current version and updated version as same vulnerable version.
|
/assign |
@Karthik-K-N any thoughts on this? |
Did you try this |
Can you try using: |
fails with same error
|
then give shot with earlier version like k8s.io/kubernetes |
Changing from github.com/dgrijalva/jwt-go to github.com/golang-jwt/jwt solves the issue. |
The current version is 1.19.14. I can upgrade to any of the 1.19.x version. But, I can't upgrade to 1.20.0 or more than that. As per the security alert, upgrading to 1.19.5 will solve the issue. But, that's far away from the latest version. |
I am using Kubernetes cluster version 1.19.2. I think that's why I cannot install client beyond 1.19.x. |
Deployed new Kubernetes cluster version 1.22.2.
|
best way to fix them via replace directive in the go.mod file, e.g: https://github.com/kubernetes-csi/csi-driver-nfs/blob/96d13a56e5974310618f0064e5026211a23dd340/go.mod#L25:L52 |
fixes the issue. Thanks |
Updating the dependencies to the latest version requires the go version 1.16 to build and test. |
Update the below dependencies to expected versions to avoid security issues:
The text was updated successfully, but these errors were encountered: