En bref
- CVE-2022-39389 est une vulnérabilité MOYENNE (CVSS 6.5) touchant github.com/lightningnetwork/lnd, btcd (btcd project), lightning network daemon (lightning network daemon project).
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 1.1%, plus élevée que 65.9% des vulnérabilités.
- Correctif : mettre à jour vers 0.15.4-beta, 0.23.3, 0.15.4 ou plus récent.
Description
Impact
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.
Patches
A patch is available starting with lnd v0.15.4.
Workarounds
Nodes can 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
https://github.com/lightningnetwork/lnd/issues/7096
https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta
NVD 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.
Autres vulnérabilités de github.com/lightningnetwork/lnd
Tout voir →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free