CVE-2024-38359
MEDIUM 6.5CVSS 3.1Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service
The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node. A parsing vulnerability in lnd's onion processing logic and lead to a DoS vector due to excessive memory allocation. The issue was patched in lnd v0.17.0. Users should update to a version > v0.17.0 to be protected. Users unable to upgrade may set the --rejecthtlc CLI flag and also disable forwarding on channels via the UpdateChanPolicyCommand, or disable listening on a public network interface via the --nolisten flag as a mitigation.
- Published
- 20 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-20
- Also known as
- GHSA-9gxx-58q6-42p7GO-2024-2943
- Sources
- NVDJSONOSV GHSA-9gxx-58q6-42p7JSONOSV GO-2024-2943JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/lightningnetwork/lnd | < 0.17.0-beta | 0.17.0-beta |
References
- https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979 · WEB
- https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta · WEB
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7 · WEB, ADVISORY
- https://lightning.network · WEB
- https://morehouse.github.io/lightning/lnd-onion-bomb · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-38359 · ADVISORY
- https://github.com/lightningnetwork/lnd · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jun 2024)