CVE-2024-38359: Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service
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
Published Jun 20, 2024 · Updated Nov 18, 2024
Affected packages
github.com/lightningnetwork/lnd
- Ecosystem
- Go
- Affected
- < 0.17.0-beta
- Fixed in
- 0.17.0-beta
- Check
go list -m github.com/lightningnetwork/lnd
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to morehouse.
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
