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

Bump Go version for cluster-autoscaler to 1.21.5 or higher #6521

Closed
YamsThePotato opened this issue Feb 8, 2024 · 7 comments
Closed

Bump Go version for cluster-autoscaler to 1.21.5 or higher #6521

YamsThePotato opened this issue Feb 8, 2024 · 7 comments
Assignees
Labels
area/cluster-autoscaler kind/bug Categorizes issue or PR as related to a bug.

Comments

@YamsThePotato
Copy link

Happy Thursday!
I'm having trouble following the Go version and strategy used for cluster-autoscaler. On cluster-autoscaler-1.29.0, Twistlock (PRISMA Cloud) detects GO version 1.21.4 with a High severity CVE. This matches the dockerfile

High severity CVE-2023-45285 shows as vulnerable in this version. Safe version is 1.21.5 or higher. Latest Go is 1.21.7 released two days ago.

The Readme mentions that Go version used in CA will attempt match the Kubernetes version used. Using CA-1.29.0 as an example, which appears to use Go 1.21.4, Kubernetes-1.29.0 appears to use Go version 1.21.6. link.

Is it possible to bump Go to address this high CVE in CA please or have I misinterpreted the Go versions in use?
Thanks!

@YamsThePotato YamsThePotato added the kind/bug Categorizes issue or PR as related to a bug. label Feb 8, 2024
@Shubham82
Copy link
Contributor

@YamsThePotato Thanks for reporting this, The go version for the k8s release and its corresponding CA release should be the same.
I will open a PR for it in the master branch and then in cluster-autoscaler-release-1.29 branch.

@Shubham82
Copy link
Contributor

/assign
/area cluster-autoscaler

@Shubham82
Copy link
Contributor

Shubham82 commented Feb 9, 2024

I have raised PR #6522 to fix it.
It is for the master branch, once it is merged I will open PR for the cluster-autoscaler-release-1.29 branch.

@Shubham82
Copy link
Contributor

I have raised PR #6526 to fix it for the CA1.29

@Shubham82
Copy link
Contributor

closing this issue, as corresponding PRs are merged.

@Shubham82
Copy link
Contributor

/close

@k8s-ci-robot
Copy link
Contributor

@Shubham82: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants