CVE-2022-39389 Witness Block Parsing DoS Vulnerability in lnd
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| btcd project btcd | < 0.23.3 | 0.23.3 | Fixed |
| lightning network daemon project lightning network daemon | < 0.15.4 | 0.15.4 | Fixed |
| lightningnetwork github.com/lightningnetwork/lnd(Go) | < 0.15.4-beta | 0.15.4-beta | Fixed |
| lightningnetwork github.com/lightningnetwork/lnd | = < v0.15.4-beta | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lightningnetwork github.com/lightningnetwork/lnd(Go) | < 0.15.4-beta | 0.15.4-beta |
| lightningnetwork github.com/lightningnetwork/lnd | = < v0.15.4-beta | No fix listed |
| btcd project btcd | < 0.23.3 | 0.23.3 |
| lightning network daemon project lightning network daemon | < 0.15.4 | 0.15.4 |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- github.com
- github.com product