# CVE-2024-38359: Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service

Source: https://junglewise.ai/threats/cve-2024-38359-lightning-network-daemon-lnd-s-onion-processing-logic-leads-to-a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-01  
License: CC BY 4.0 with a link back

CVE-2024-38359 · Severity: low · CVSS 3.1 · Published 2024-07-01

Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service in github.com/lightningnetwork/lnd

Technologies: [github.com/lightningnetwork/lnd (Go)](https://junglewise.ai/threats/technologies/github-com-lightningnetwork-lnd). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-38359 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-38359 being exploited in the wild.

**How severe is CVE-2024-38359?** Low severity, with a CVSS score of 3.1, published 1 July 2024.

**Which products and versions are affected?** github.com/lightningnetwork/lnd (Go) SEMVER:introduced=0,fixed=0.17.0-beta.

**Is there a fix for CVE-2024-38359?** Yes. github.com/lightningnetwork/lnd (Go): upgrade to 0.17.0-beta or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-38359?** Check whether you run github.com/lightningnetwork/lnd (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/lightningnetwork/lnd (Go): upgrade to 0.17.0-beta or later

  ```sh
  go get github.com/lightningnetwork/lnd@v0.17.0-beta
  ```


## Affected products

- github.com/lightningnetwork/lnd (Go) SEMVER:introduced=0,fixed=0.17.0-beta

## Identifiers

- CVE-2024-38359
- GHSA-9gxx-58q6-42p7
- GO-2024-2943

## Related threats

- [GO-2022-0807 - Improper Access Control in Lightning Network Daemon in github.com/lightningnetwork/lnd](https://junglewise.ai/threats/cve-2019-12999-improper-access-control-in-lightning-network-daemon)
- [Witness Block Parsing DoS Vulnerability](https://junglewise.ai/threats/cve-2022-39389-witness-block-parsing-dos-vulnerability)
- [GO-2022-1098 - Denial of service in message decoding in github.com/btcsuite/btcd](https://junglewise.ai/threats/cve-2022-44797-btcd-mishandles-witness-size-checking)
