Prior to 0.11.0-beta, LND (Lightning Network Daemon) had a vulnerability in its invoice database. While claiming on-chain a received HTLC output, it didn't verify that the corresponding outgoing off-chain HTLC was already settled before releasing the preimage. In the case of a hash-and-amount collision with an invoice, the preimage for an expected payment was instead released. A malicious peer could have deliberately intercepted an HTLC intended for the victim node, probed the preimage through a colluding relayed HTLC, and stolen the intercepted HTLC. The impact is a loss of funds in certain situations, and a weakening of the victim's receiver privacy.
References
Link | Resource |
---|---|
https://gist.github.com/ariard/6bdeb995565d1cc292753e1ee4ae402d | Third Party Advisory |
https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-October/002855.html | Mailing List Third Party Advisory |
https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-October/002857.html | Mailing List Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2020-10-21 02:15
Updated : 2024-02-04 21:23
NVD link : CVE-2020-26896
Mitre link : CVE-2020-26896
CVE.ORG link : CVE-2020-26896
JSON object : View
Products Affected
lightning_network_daemon_project
- lightning_network_daemon
CWE
CWE-354
Improper Validation of Integrity Check Value