GHSA-hc82-w9v8-83pr
Witness Block Parsing DoS Vulnerability
Quick fix
GHSA-hc82-w9v8-83pr — github.com/lightningnetwork/lnd: upgrade to the fixed version with the command below.
go get github.com/lightningnetwork/lnd@v0.15.4-betaDetails
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 0.15.4-betago get github.com/lightningnetwork/lnd@v0.15.4-betaReferences
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-39389[ADVISORY]
- https://github.com/lightningnetwork/lnd/issues/7096[WEB]
- https://github.com/lightningnetwork/lnd/pull/7098[WEB]
- https://github.com/lightningnetwork/lnd[PACKAGE]
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta[WEB]