Improper input validation in Btcd Project
CVE-2022-39389
Lightning Network Daemon (lnd) is an implementation of a lightning bitcoin overlay network node. 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. A patch is available in `lnd` version 0.15.4. Users are advised to upgrade. Users unable to upgrade may 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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.010 (59.2th percentile) — read the EPSS interpretation.
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:N/I:L/A:H.
Affected products
- Btcd_project Btcd
- Lightningnetwork Lnd — versions < v0.15.4-beta
- Lightning_network_daemon_project Lightning_network_daemon
Weakness classification (CWE)
References
- security-advisories@github.com (Third Party Advisory)
- security-advisories@github.com (Exploit, Patch, Third Party Advisory, Issue Tracking)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-39389?
- CVE-2022-39389 is a high-severity vulnerability in Btcd Project, classified under Improper Input Validation. CVSS score: 8.2/10. Published 2022-11-17.
- How severe is CVE-2022-39389?
- High severity. CVSS v3 base score is 8.2 out of 10.