CVE-2022-39389
Last modified
CVE-2022-39389 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.00% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Btcd Project | Btcd | < 0.23.3 |
| Lightning Network Daemon Project | Lightning Network Daemon | < 0.15.4 |
References
- https://github.com/lightningnetwork/lnd/issues/7096Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/lightningnetwork/lnd/pull/7098Patch, Third Party Advisory
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-betaRelease Notes, Third Party Advisory
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83prThird Party Advisory
- https://github.com/lightningnetwork/lnd/issues/7096Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/lightningnetwork/lnd/pull/7098Patch, Third Party Advisory
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-betaRelease Notes, Third Party Advisory
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83prThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-39389?
How severe is CVE-2022-39389?
How do I fix CVE-2022-39389?
Are you affected by CVE-2022-39389?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
