Command Injection Affecting github.com/lightningnetwork/lnd package, versions <0.12.1-beta


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMLIGHTNINGNETWORKLND-1078504
  • published23 Feb 2021
  • disclosed23 Feb 2021
  • creditMartin Habovštiak

Introduced: 23 Feb 2021

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/lightningnetwork/lnd to version 0.12.1-beta or higher.

Overview

github.com/lightningnetwork/lnd is a complete implementation of a Lightning Network node.

Affected versions of this package are vulnerable to Command Injection. Both the lnd and lncli binaries are executed to obtain their version before they have been verified against the release, a malicious binary could have already compromised the user's system before any of the checks had been performed.

References

CVSS Scores

version 3.1