lightningnetwork/lnd · Security
Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service
- GHSA ID
- GHSA-9gxx-58q6-42p7
- CVE ID
- CVE-2024-38359
- Severity
- high
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 7.1 · 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
Description
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
CWEs
- CWE-20 · Improper Input Validation
References
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7 ↗
- https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979 ↗
- https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta ↗
- https://morehouse.github.io/lightning/lnd-onion-bomb ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-38359 ↗
- https://lightning.network ↗
- https://github.com/advisories/GHSA-9gxx-58q6-42p7 ↗