CVE-2022-39389

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:*
cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:*:*:*:*:*:*:*:*

History

22 Nov 2022, 16:49

Type Values Removed Values Added
References (CONFIRM) https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr - (CONFIRM) https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr - Third Party Advisory
References (MISC) https://github.com/lightningnetwork/lnd/pull/7098 - (MISC) https://github.com/lightningnetwork/lnd/pull/7098 - Patch, Third Party Advisory
References (MISC) https://github.com/lightningnetwork/lnd/issues/7096 - (MISC) https://github.com/lightningnetwork/lnd/issues/7096 - Exploit, Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta - (MISC) https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta - Release Notes, Third Party Advisory
CPE cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:*:*:*:*:*:*:*:*
cpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
First Time Btcd Project btcd
Btcd Project
Lightning Network Daemon Project lightning Network Daemon
Lightning Network Daemon Project

17 Nov 2022, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-17 22:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-39389

Mitre link : CVE-2022-39389

CVE.ORG link : CVE-2022-39389


JSON object : View

Products Affected

btcd_project

  • btcd

lightning_network_daemon_project

  • lightning_network_daemon
CWE
CWE-20

Improper Input Validation