{"id":"CVE-2024-38359","state":"PUBLISHED","title":"Lightning Network Daemon Onion Bomb","description":"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.","publishedAt":"2024-06-20T22:16:00.428Z","updatedAt":"2024-08-02T04:04:25.238Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["lightningnetwork lnd"],"affected":[{"vendor":"lightningnetwork","product":"lnd","versions":[{"version":"< 0.17.0","status":"affected"}]}],"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://lightning.network","https://morehouse.github.io/lightning/lnd-onion-bomb"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38359.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38359","state":"PUBLISHED","datePublished":"2024-06-20T22:16:00.428Z","dateUpdated":"2024-08-02T04:04:25.238Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-14T14:16:16.465Z"},"containers":{"cna":{"title":"Lightning Network Daemon Onion Bomb","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"lightningnetwork","product":"lnd","versions":[{"version":"< 0.17.0","status":"affected"}]}],"references":[{"url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7","name":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7","tags":["x_refsource_CONFIRM"]},{"url":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","name":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","tags":["x_refsource_MISC"]},{"url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta","name":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta","tags":["x_refsource_MISC"]},{"url":"https://lightning.network","name":"https://lightning.network","tags":["x_refsource_MISC"]},{"url":"https://morehouse.github.io/lightning/lnd-onion-bomb","name":"https://morehouse.github.io/lightning/lnd-onion-bomb","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-20T22:16:00.428Z"},"source":{"advisory":"GHSA-9gxx-58q6-42p7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"lightning_network_daemon_project","product":"lightning_network_daemon","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.17.0","versionType":"custom"}],"cpes":["cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-21T12:33:07.175758Z","id":"CVE-2024-38359","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-21T12:34:58.656Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7","name":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","name":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta","name":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lightning.network","name":"https://lightning.network","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://morehouse.github.io/lightning/lnd-onion-bomb","name":"https://morehouse.github.io/lightning/lnd-onion-bomb","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:04:25.238Z"}}]}}}