GitHub Advisoryadvisory · Go
GHSA-9gxx-58q6-42p7 Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service
HIGH
Official page ↗
- Aliases
- CVE-2024-38359
- Ecosystem
- Go
- Packages
- github.com/lightningnetwork/lnd
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2024-06-20
Affected packages
• Go github.com/lightningnetwork/lnd: < 0.17.0-beta → fixed in 0.17.0-beta
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
Related
Alias · CVE (1)
- CVE-2024-38359 The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-38359 advisory
- https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979 web
- https://github.com/lightningnetwork/lnd package
- https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta web
- https://lightning.network web
- https://morehouse.github.io/lightning/lnd-onion-bomb web