{"id":"GHSA-9gxx-58q6-42p7","summary":"Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service","details":"### Impact\n\nA parsing vulnerability in lnd's onion processing logic led to a DoS vector due to excessive memory allocation.  \n\n### Patches\n\nThe issue was patched in lnd [v0.17.0](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta). Users should update to a version \u003e= v0.17.0 to be protected. \n\n### References\n\nDetailed blog post: https://morehouse.github.io/lightning/lnd-onion-bomb/\n\nDeveloper discussion: https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","aliases":["CVE-2024-38359","GO-2024-2943"],"modified":"2026-09-10T03:50:15.086090051Z","published":"2024-06-20T19:18:25Z","database_specific":{"github_reviewed_at":"2024-06-20T19:18:25Z","nvd_published_at":"2024-06-20T23:15:52Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38359"},{"type":"WEB","url":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979"},{"type":"PACKAGE","url":"https://github.com/lightningnetwork/lnd"},{"type":"WEB","url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta"},{"type":"WEB","url":"https://lightning.network"},{"type":"WEB","url":"https://morehouse.github.io/lightning/lnd-onion-bomb"}],"affected":[{"package":{"name":"github.com/lightningnetwork/lnd","ecosystem":"Go","purl":"pkg:golang/github.com/lightningnetwork/lnd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.17.0-beta"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-9gxx-58q6-42p7/GHSA-9gxx-58q6-42p7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}