Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

FIX - update grpc to non vuln version #10

Merged
merged 1 commit into from Nov 2, 2018
Merged

Conversation

dannypaz
Copy link
Contributor

We've received a security notice for lnd-engine that asks us to upgrade grpc to a version > 1.12.x. This PR updates grpc to latest to relieve this notice.

Vulnerability: our current version of node-grpc depends on protobufjs < 5.0.3 which has a DoS security issue. The security issue is a RegEx DoS attack where the evaluation of a certain string takes a long amount of time (and can effectively jam the process using protobufjs)

More info on ReDos: https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
Fix in protobufjs protobufjs/protobuf.js#1030

https://www.npmjs.com/advisories/605

@dannypaz
Copy link
Contributor Author

Copy link
Contributor

@martineehrlich martineehrlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dannypaz dannypaz merged commit ca6f6f2 into master Nov 2, 2018
@dannypaz dannypaz deleted the fix/grpc-update branch November 2, 2018 16:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants