Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Btcd Project | Btcd | < 0.23.3 |
| Lightning Network Daemon Project | Lightning Network Daemon | < 0.15.4 |
Related Weaknesses (CWE)
References
- https://github.com/lightningnetwork/lnd/issues/7096ExploitIssue TrackingPatch
- https://github.com/lightningnetwork/lnd/pull/7098PatchThird Party Advisory
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-betaRelease NotesThird Party Advisory
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83prThird Party Advisory
- https://github.com/lightningnetwork/lnd/issues/7096ExploitIssue TrackingPatch
- https://github.com/lightningnetwork/lnd/pull/7098PatchThird Party Advisory
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-betaRelease NotesThird Party Advisory
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83prThird Party Advisory
FAQ
What is CVE-2022-39389?
CVE-2022-39389 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 e...
How severe is CVE-2022-39389?
CVE-2022-39389 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-39389?
Check the references section above for vendor advisories and patch information. Affected products include: Btcd Project Btcd, Lightning Network Daemon Project Lightning Network Daemon.