-
Notifications
You must be signed in to change notification settings - Fork 646
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 toolchain version to address CVE-2023-45288 for release-1.3 #713
Bump go toolchain version to address CVE-2023-45288 for release-1.3 #713
Conversation
@ahrtr it's a cross-minor-version bump from I would like to make sure the version bump is done correctly before moving on to addressing the linter issues! |
59f0fb7
to
957e011
Compare
Cross linking etcd-io/etcd#17703 |
Should we adopt the main branch's |
Sounds good to me. Thanks |
b0fc38a
to
980f2a6
Compare
7770b1a
to
6c8bac3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow changes LGTM. I defer to Benjamin regarding the other changes ✌️
194d4d8
to
d62ad4b
Compare
d62ad4b
to
138719c
Compare
After second thought, I bumped the go toolchain to |
Please refer to etcd-io/etcd#17348 (comment). Unless @ahrtr thinks otherwise, I think it would be better to stay on 1.21 for the release-1.3 branch. |
@ivanvc, thanks for the pointer. I will rework the PR
|
138719c
to
63172d0
Compare
@ahrtr which go toolchain version do we want to go with on |
Changes: - Bump toolchain version to 1.21.9 due to CVE-2023-45288 - run `go mod tidy` Reference: - PR etcd #17703 Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Changes (align with the main branch): - remove rand.Seed(s) - use rand.Read from "crypto/rand" - add //nolint:all for (*reflect.SliceHeader)(slice) -> will fix in a follow-up PR Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com> Co-authored-by: Iván Valdés Castillo <iv@nvald.es>
63172d0
to
9b60c13
Compare
@ahrtr rebased and using go version 1.21.9! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @henrybear327
References: - etcd-io#713 - etcd-io#566
References: - etcd-io#713 - etcd-io#566 Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
We should avoid bumping go version in Instead of bumping go version in |
|
Changes:
1.21.9
due to CVE-2023-45288go mod tidy
Address linter changes (align with the main branch):
rand.Seed(s)
rand.Read
from"crypto/rand"
//nolint:all
for(*reflect.SliceHeader)(slice)
-> will be fixed in a new PRReference: