chore(deps): bump golang.org/x/oauth2 from 0.24.0 to 0.28.0 to fix CVE-2025-22868 #22531
+6
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes CVE-2025-22868. Note that the master branch already contains the fix in PR #22211, and #21990
golang.org/x/oauth2 0.28 (and 0.27) requires go version 1.23 or later, hence the additional upgrade of go version in this PR. If this is ok, I'll send similar PRs for other recent release branches.
In master branch, the PR to bump to go 1.23.5 is PR #21748, which may also need to be backedported to release-2.14 to address some test failures.
PS: I should probably remove the toolchain line in go.mod "toolchain go1.24.0", which has caused golangci-lint error.
Checklist: