Create patch to update protobufjs from 7.1.2 to 7.4.0 in rules_proto_grpc #13
+153
−0
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.
A security issue was discovered in protobuf.js in 6.10.0 until 6.11.4 and 7.0.0 until 7.2.4, where a user-controlled protobuf message can be used by an attacker to pollute the prototype of Object.prototype by adding and overwriting its data and functions. Exploitation can involve: (1) using the function parse to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty
grpc/grpc-js 1.7.3 was dependent on an outdated version of protobuf.js. By incrementing grpc/grpc-js from 1.7.3 to 1.12.4, we also increment protobufjs from 7.1.2 to 7.4.0, resolving the security issue.