{"id":"CVE-2024-38359","aliases":["CVE-2024-38359","GHSA-9gxx-58q6-42p7","GO-2024-2943"],"related":[],"kind":"vulnerability","state":"published","title":"Lightning Network Daemon Onion Bomb","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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 >= 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","format":"markdown","source":"ghsa"},{"lang":"en","text":"Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service in github.com/lightningnetwork/lnd","format":"markdown","source":"go"},{"lang":"es","text":"Lightning Network Daemon (lnd): es una implementación completa de un nodo Lightning Network. Una vulnerabilidad de análisis en la lógica de procesamiento de cebolla de lnd y conduce a un vector DoS debido a una asignación excesiva de memoria. El problema se solucionó en lnd v0.17.0. Los usuarios deben actualizar a una versión &gt; v0.17.0 para estar protegidos. Los usuarios que no puedan actualizar pueden configurar el indicador CLI `--rejecthtlc` y también deshabilitar el reenvío de canales a través de `UpdateChanPolicyCommand`, o desactivar la escucha en una interfaz de red pública a través del indicador `--nolisten` como mitigación.","source":"nvd"}],"published":"2024-06-20T19:18:25.000Z","modified":"2026-09-10T03:50:15.086Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 0.17.0","status":"affected"}],"vendor":"lightningnetwork","product":"lnd","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.17.0","status":"affected"}],"vendor":"lightning_network_daemon_project","product":"lightning_network_daemon","cpe":"cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.17.0-beta"}],"ecosystem":"Go","package":"github.com/lightningnetwork/lnd","purl":"pkg:golang/github.com/lightningnetwork/lnd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.17.0-beta"}],"ecosystem":"Go","package":"github.com/lightningnetwork/lnd","purl":"pkg:golang/github.com/lightningnetwork/lnd","source":"go"}],"references":[{"url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7","tags":["advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://lightning.network","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://morehouse.github.io/lightning/lnd-onion-bomb","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38359","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/lightningnetwork/lnd","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-06-21T12:33:07.175Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38359","url":"https://www.cve.org/CVERecord?id=CVE-2024-38359","licence":"CVE Terms of Use","modified":"2024-08-02T04:04:25.238Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9gxx-58q6-42p7","url":"https://github.com/advisories/GHSA-9gxx-58q6-42p7","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.086Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2943","url":"https://pkg.go.dev/vuln/GO-2024-2943","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:31.024Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38359","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38359","licence":"Public domain","modified":"2026-06-17T07:39:59.420Z"}],"updatedAt":"2026-11-25T22:58:42.089Z","epss":{"score":0.01063,"percentile":0.64123,"date":"2026-11-30T12:00:22.000Z"}}