CVE-2022-39389

High

Description

Lightning Network Daemon (lnd) is an implementation of a lightning bitcoin overlay network node. All lnd nodes before version `v0.15.4` are vulnerable to a block parsing bug that can cause a node to enter a degraded state once encountered. In this degraded state, nodes can continue to make payments and forward HTLCs, and close out channels. Opening channels is prohibited, and also on chain transaction events will be undetected. This can cause loss of funds if a CSV expiry is researched during a breach attempt or a CLTV delta expires forgetting the funds in the HTLC. A patch is available in `lnd` version 0.15.4. Users are advised to upgrade. Users unable to upgrade may use the `lncli updatechanpolicy` RPC call to increase their CLTV value to a very high amount or increase their fee policies. This will prevent nodes from routing through your node, meaning that no pending HTLCs can be present.

SeverityHigh
CVSS8.2
Exploit probability—
ProductLightning Network Daemon
PublishedNov 17, 2022
First seenNov 17, 2022

How to fix

Update
  • lightning_network_daemon_project lightning_network_daemon0.15.4 or later
  • btcd_project btcd0.23.3 or later
  • github.com/lightningnetwork/lnd0.15.4-beta or later

Affected products

ProductAffected versionsFixed in
lightning_network_daemon_project lightning_network_daemonv < 0.15.40.15.4
btcd_project btcdv < 0.23.30.23.3
github.com/lightningnetwork/lndGov < 0.15.4-beta0.15.4-beta

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-39389 · Lightning Network Daemon · Dark Radar