-
Notifications
You must be signed in to change notification settings - Fork 360
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
chore: resolve protoc-gen-go-grpc vulnerability #3267
Conversation
Signed-off-by: Shahar Harari <shahar.harari@sap.com>
3097222
to
6fa586e
Compare
tools/src/protoc-gen-go-grpc/go.mod
Outdated
@@ -5,3 +5,8 @@ go 1.22.2 | |||
require google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 | |||
|
|||
require google.golang.org/protobuf v1.28.1 // indirect | |||
|
|||
// Resolve GHSA-8r3f-844c-mc37. | |||
// This is a temporary fix until the next release of google.golang.org/grpc/cmd/protoc-gen-go-grpc. |
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.
Shouldn't a manual go get fix this ?
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.
Yes, once a new google.golang.org/grpc/cmd/protoc-gen-go-grpc
version is available.
/retest |
1 similar comment
/retest |
here's what I was suggesting
|
This would also work but IMO using a replace directive is cleaner and more clear as you can see the original version and add a comment above the version override. |
/retest |
It also introduces tech debt of reverting the replace in the future |
here's what dependabot raised #3270 |
Signed-off-by: Shahar Harari <shahar.harari@sap.com>
690c659
to
afb43da
Compare
Fixed, you can merge either this one or #3270 |
/retest |
2 similar comments
/retest |
/retest |
What this PR does / why we need it:
Use a temporary replace directive to resolve
google.golang.org/protobuf
vulnerability ingoogle.golang.org/grpc/cmd/protoc-gen-go-grpc
v1.3.0
.This will be removed once a new release is available(see related issue).
Which issue(s) this PR fixes:
Fixes #