Skip to content

Commit

Permalink
chore: resolve protoc-gen-go-grpc vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
shahar-h committed Apr 24, 2024
1 parent c43efbc commit 3097222
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions tools/src/protoc-gen-go-grpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// See https://github.com/grpc/grpc-go/issues/7092.
replace google.golang.org/protobuf => google.golang.org/protobuf v1.33.0
6 changes: 2 additions & 4 deletions tools/src/protoc-gen-go-grpc/go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 h1:rNBFJjBCOgVr9pWD7rs/knKL4FRTKgpZmsRfV214zcA=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=

0 comments on commit 3097222

Please sign in to comment.