Advisory

GHSA-9gxx-58q6-42p7

Also known as: CVE-2024-38359, GO-2024-2943

Summary

Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-06-20 19:18 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/lightningnetwork/lnd

Go · All systems

Affected

  • introduced 0, fixed 0.17.0-beta (semver)

Fixed versions

0.17.0-beta

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences