CVE-2022-39389: Lightning Network Daemon - Denial of Service
- Cve: CVE-2022-39389
- Name: Lightning Network Daemon - Denial of Service
- 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.
- Impact: Nodes can lose funds due to undetected on-chain events and inability to open channels, potentially leading to financial loss.
- Remediation: Upgrade to lnd version 0.15.4 or later. Alternatively, increase CLTV or fee policies via lncli updatechanpolicy to prevent routing through your node.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Epss score: 0.01441
- Epss percentile: 0.73746
- Assignee: [email protected]
- Published at: 2022-11-17T22:15:10Z
- Age in days: 1468
- Modified at: 2026-06-17T04:58:16Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-39389
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/lightningnetwork/lnd/issues/7096 | nvd | 2022-11-17 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/lightningnetwork/lnd/issues/7096 | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://github.com/lightningnetwork/lnd/pull/7098 | Patch, Third Party Advisory |
| https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta | Release Notes, Third Party Advisory |
| https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lightning_network_daemon_project:lightning_network_daemon | < 0.15.4 | no | nvd | /v1/products/lightning_network_daemon_project/lightning_network_daemon |
| btcd_project:btcd | < 0.23.3 | no | nvd | /v1/products/btcd_project/btcd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lightningnetwork/lnd | issues, package, pull, releases, security_advisory | yes | /v1/repositories/lightningnetwork/lnd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-11-17
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts