CVE-2024-38359
The Lightning Network Daemon (lnd) - is a complete implementation …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979
- github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta
- github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7
- lightning.network
- morehouse.github.io/lightning/lnd-onion-bomb
- nvd.nist.gov/vuln/detail/CVE-2024-38359
- github.com/advisories/GHSA-9gxx-58q6-42p7
- nvd.nist.gov/vuln/detail/CVE-2024-38359
- cve.org/CVERecord?id=CVE-2024-38359
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.