GitHub Advisory Database
GHSA-9gxx-58q6-42p7
Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/lightningnetwork/lnd | All versions before 0.17.0-beta (fixed in 0.17.0-beta) |
References
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7
- https://nvd.nist.gov/vuln/detail/CVE-2024-38359
- https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979
- https://github.com/lightningnetwork/lnd
- https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta
- https://lightning.network
- https://morehouse.github.io/lightning/lnd-onion-bomb