Bitcoin Lightning Network developers fix LND vulnerability to prevent payment record loss.

iconChaincatcher
Share
AI summary iconSummary
Bitcoin Lightning Network developers have released a fix for an LND vulnerability as part of a recent network upgrade. The flaw involved a 16-bit counter that could overflow at 65,536, risking payment record loss after node restarts. The LND team released v0.21.8-beta and v0.20.8-beta on November 11 to implement write protection and validate old records. This vulnerability disclosure underscores ongoing efforts to secure the Lightning Network infrastructure. It remains unclear whether the flaw was exploited or caused any losses.

ChainCatcher report, according to CryptoSlate, Bitcoin Lightning Network developers have patched a software vulnerability in LND (Lightning Network node implementation). The vulnerability arose from a 16-bit counter used to track the number of entries overflowing and resetting to zero when reaching 65,536 during the saving and restoration of channel updates. This could cause nodes to misinterpret the entries as an empty list after a restart, leading to missed settled Hashed Timelock Contracts (HTLCs) and compromising the accounting integrity of payment channels. Developers noted that connected nodes could force the entry count to overflow by repeatedly sending fee updates and commitment signatures while withholding necessary revocation messages. LND has released versions v0.21.8-beta and v0.20.8-beta on November 11, addressing the issue by implementing write protection and validating old records upon loading. It has not yet been confirmed whether this vulnerability has been exploited or resulted in any fund losses.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.