Vulnerability in Lightning Network Daemon Project
CVE-2020-26896
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.007, 55.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Lightning Network Daemon Project — versions 0.11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, uvhw/conchimgiangnang). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gist.github.com/ariard/6bdeb995565d1cc292753e1ee4ae402d (Third Party Advisory)
- lists.linuxfoundation.org/pipermail/lightning-dev/2020-October/002857.html (Patch, Mailing List, Third Party Advisory)
- lists.linuxfoundation.org/pipermail/lightning-dev/2020-October/002855.html (Mailing List, Third Party Advisory)