Vulnerability · Published Jun 20, 2024 · Assigned by GitHub_M

CVE-2024-38359Lightning Network Daemon Onion Bomb

Medium 6.5

In plain English

A medium-severity improper input validation in lnd from lightningnetwork. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 52.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/lightningnetwork/lnd0.17.0-betaGHSA-9gxx-58q6-42p7
Gogithub.com/lightningnetwork/lnd0.17.0-betaGO-2024-2943

Affected products (as reported)

VendorProductVersions
lightningnetwork lnd < 0.17.0

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References