Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lightningnetwork/lnd
  4. ›
  5. CVE-2024-38359

CVE-2024-38359: Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service

June 20, 2024 (updated November 18, 2024)

A parsing vulnerability in lnd’s onion processing logic led to a DoS vector due to excessive memory allocation.

References

  • delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979
  • github.com/advisories/GHSA-9gxx-58q6-42p7
  • github.com/lightningnetwork/lnd
  • github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta
  • github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7
  • lightning.network/
  • morehouse.github.io/lightning/lnd-onion-bomb
  • nvd.nist.gov/vuln/detail/CVE-2024-38359

Code Behaviors & Features

Detect and mitigate CVE-2024-38359 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.17.0-beta

Fixed versions

  • 0.17.0-beta

Solution

Upgrade to version 0.17.0-beta or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

go/github.com/lightningnetwork/lnd/CVE-2024-38359.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.