Lightning Development Kit patches reconnect vulnerability that could enable Bitcoin theft
LDK released security updates fixing a reconnect flaw allowing malicious peers to steal forwarded payment value and an LSPS2 amount flaw affecting liquidity services.
Why it matters
The vulnerability affects Lightning wallets and payment applications built on LDK, requiring developers to update deployed software to prevent potential Bitcoin theft from forwarded payments. The LSPS2 flaw additionally impacts liquidity services.
Key facts
LDK released security updates v0.2.7 and v0.1.13 on October 1 fixing a reconnect vulnerability
Reported by CryptoSlate
The attack works by a peer acknowledging an update then reconnecting and pretending it never received it
Reported by CryptoSlate
The false claim could cause LDK to sign a conflicting commitment transaction not recorded by the channel monitor
Reported by CryptoSlate
Version 0.2.7 also fixes an LSPS2 amount flaw that could make liquidity services forward more than they received
Reported by CryptoSlate
Affected developers need to incorporate patched code and account for LSPS2 contracts queued by prior versions
Reported by CryptoSlate
Bitcoin Optech described the fixes in its October 9 newsletter
Reported by CryptoSlate
What happened
CryptoSlate reported that Lightning Development Kit (LDK) released security updates v0.2.7 and v0.1.13 on October 1 addressing a reconnect vulnerability. The flaw could let a malicious channel peer steal the value of a forwarded payment by acknowledging an update, then reconnecting and falsely claiming it never received it. This false claim could cause LDK to sign a conflicting commitment transaction not recorded by the channel monitor. Version 0.2.7 also fixes an LSPS2 amount flaw that could make liquidity services forward more than they received. Affected application developers need to incorporate the patched code and account for LSPS2 contracts queued by prior versions. Bitcoin Optech described the fixes in its October 9 newsletter.
How the story developed
- Update
Bitcoin Optech newsletter covers the fixes
Bitcoin Optech described the LDK security fixes in its October 9 newsletter
- First report
First report by CryptoSlate
Lightning apps using unpatched LDK risk Bitcoin theft from a reconnect lie
- Update
CryptoSlate reports on the vulnerability
CryptoSlate publishes article detailing the LDK reconnect flaw and security updates
Affected entities
Original sources
| Publisher | Report | Role | Published |
|---|---|---|---|
| CryptoSlate Crypto media | Lightning apps using unpatched LDK risk Bitcoin theft from a reconnect lie | Original |