Improper Access Control Affecting package, versions <0.7.1-beta

  • Exploit Maturity

    Proof of concept

  • Attack Complexity


  • User Interaction


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-id


  • published

    3 Feb 2020

  • disclosed

    31 Jan 2020

  • credit


How to fix?

Upgrade to version 0.7.1-beta or higher.

Overview is a complete implementation of a Lightning Network node.

Affected versions of this package are vulnerable to Improper Access Control. A lightning node accepting a channel must check that the funding transaction output does indeed open the channel proposed. Otherwise an attacker can claim to open a channel but either not pay to the peer, or not pay the full amount. Once that transaction reaches the minimum depth, it can spend funds from the channel. The victim will only notice when it tries to close the channel and none of the commitment or mutual close transactions it has are valid.