-
Notifications
You must be signed in to change notification settings - Fork 1
[AV-142868] Fix critical issue in x/net via minor version upgrade from 0.17.0 to 0.55.0 #19
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | |||||||||||||||||
| module github.com/couchbasecloud/vault-plugin-database-couchbasecapella | |||||||||||||||||
|
|
|||||||||||||||||
| go 1.21.3 | |||||||||||||||||
| go 1.25.0 | |||||||||||||||||
|
|
|||||||||||||||||
| require ( | |||||||||||||||||
| github.com/cenkalti/backoff v2.2.1+incompatible | |||||||||||||||||
|
|
@@ -43,10 +43,10 @@ require ( | ||||||||||||||||
| github.com/pkg/errors v0.9.1 // indirect | |||||||||||||||||
| github.com/ryanuber/go-glob v1.0.0 // indirect | |||||||||||||||||
| go.uber.org/atomic v1.9.0 // indirect | |||||||||||||||||
| golang.org/x/crypto v0.17.0 // indirect | |||||||||||||||||
| golang.org/x/net v0.17.0 // indirect | |||||||||||||||||
| golang.org/x/sys v0.15.0 // indirect | |||||||||||||||||
| golang.org/x/text v0.14.0 // indirect | |||||||||||||||||
| golang.org/x/crypto v0.51.0 // indirect | |||||||||||||||||
| golang.org/x/net v0.55.0 // indirect | |||||||||||||||||
| golang.org/x/sys v0.45.0 // indirect | |||||||||||||||||
| golang.org/x/text v0.37.0 // indirect | |||||||||||||||||
|
Comment on lines
43
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Confirmed intended, and they can't be split out — every one of them is a direct requirement of Against what this PR actually sets:
So this is Go's minimal version selection doing its job, not unrelated scope. Splitting into separate PRs isn't possible — One thing that does need a reviewer's attention, and it is the reverse of scope creep: this PR sets These two PRs should be reconciled before either merges — most cleanly by taking |
|||||||||||||||||
| google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect | |||||||||||||||||
| google.golang.org/grpc v1.56.3 // indirect | |||||||||||||||||
| google.golang.org/protobuf v1.30.0 // indirect | |||||||||||||||||
|
|
|||||||||||||||||
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.
Fixed in 93bd112 — the builder stage now uses
golang:1.25.Worth noting the
go 1.25.0bump is not discretionary and cannot be reverted:golang.org/x/net@v0.55.0declaresgo 1.25.0in its own go.mod, so pinning the directive back to1.21.3would fail with a "module requires go >= 1.25.0" error rather than restore the old build.The newest
x/netthat still supports Go 1.21 is far enough back that it leaves the IDNA CVEs this PR targets unfixed, so moving the build image is the price of the remediation.