Skip to content

← Public intelligence

Go package

github.com/lightningnetwork/lnd

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

4 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.1GoPublished

    Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service

    CVE-2024-38359 · GHSA-9gxx-58q6-42p7

    Affected
    • Go github.com/lightningnetwork/lnd < 0.17.0-beta
    Fixed in
    0.17.0-beta· Vendor fix available
    Issue
    Impact A parsing vulnerability in lnd's onion processing logic led to a DoS vector due to excessive memory allocation. Patches The issue was patched in lnd v0.17.0. Users should update to a version = v0.17.0 to be protected. References Detailed blog post: https://morehouse.github.io/lightning/lnd-onion-bomb/ Developer discussion: https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979

    Recommended action: Upgrade to 0.17.0-beta (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 8.2GoPublished

    Witness Block Parsing DoS Vulnerability

    CVE-2022-39389 · GHSA-hc82-w9v8-83pr

    Affected
    • Go github.com/lightningnetwork/lnd < 0.15.4-beta
    Fixed in
    0.15.4-beta· Vendor fix available
    Issue
    Impact 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. Patches A patch is available starting with lnd v0.15.4. Workarounds Nodes can 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. References https://github.com/lightningnetwork/lnd/issues/7096 https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta

    Recommended action: Upgrade to 0.15.4-beta (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Critical, CVSS 9.8GoPublished

    btcd mishandles witness size checking

    CVE-2022-44797 · GHSA-2chg-86hq-7w38

    Affected
    • Go github.com/lightningnetwork/lnd < 0.15.2-beta
    Fixed in
    0.15.2-beta· Vendor fix available
    Issue
    btcd before 0.23.2, as used in Lightning Labs lnd before 0.15.2-beta and other Bitcoin-related products, mishandles witness size checking. Specific Go Packages Affected github.com/btcsuite/btcd/wire

    Recommended action: Upgrade to 0.15.2-beta (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 7.5GoPublished

    Improper Access Control in Lightning Network Daemon

    CVE-2019-12999 · GHSA-78hj-86cr-6j2v

    Affected
    • Go github.com/lightningnetwork/lnd <= 0.7.0
    Fixed in
    0.7.1-beta· Vendor fix available
    Issue
    Lightning Network Daemon (lnd) before 0.7 allows attackers to trigger loss of funds because of Incorrect Access Control.

    Recommended action: Upgrade to 0.7.1-beta (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →