LND Onion Bomb: Another Lightning Network bug put users’ bitcoin at risk (2024)

Bitcoin’s most popular layer 2, the Lightning Network, had another bug that put users’ funds at risk. Lightning scales faster and cheaper than regular bitcoin transactions by allowing users to join payment channels, therein conducting off-blockchain, ‘bar tab’-like transactions.

By jotting down increases and decreases in bitcoin balances within these payment channels, Lightning users ‘send’ and ‘receive’ bitcoin faster and cheaper than paying miners for the full security and decentralization of on-blockchain transactions.

However, the trade-off for this speed and affordability is evident in this week’s disclosure: security.

LND, one of the four most popular implementations of Lightning, is now in version 18 yet has disclosed a vulnerability affecting versions prior to 17. (Lightning developers waited approximately nine months to disclose the bug, as a precaution.)

They named the bug the LND Onion Bomb.

LND Onion Bomb

The vulnerability is a classic denial of service (DoS) attack. Specifically, attackers can overwhelm LND nodes with onion data packets, using up all of the node’s RAM and taking the node offline.

Worse, the attack is Tor/Onion-based, so it’s private by default. The identity of the assailant remains private throughout the lengthy attack, making it difficult.

A DoS vulnerability affecting lnd versions *before* 0.17 (released ~9 months ago) has been disclosed: https://t.co/39QnSWKNis

if your node is updated to either 0.17.x or 0.18.x then you're safe ✅

if unable to update, then setting –rejecthtlc can mitigate the DoS vector

— Olaoluwa Osuntokun (@roasbeef) June 19, 2024

Read more: Critics claim ‘buggy’ Bitcoin Lightning Network is slowly dying

Going offline isn’t problematic for a regular Bitcoin full node, but it’s very bad news for a Lightning node. Offline Lightning nodes may not validate or receive payments, cannot surveil the network for cheating, and are vulnerable to forced channel closures whereby a counterparty steals all remaining funds in the payment channel.

If the attacker continues DoS’ing the victimized node operator for long enough, the time period for broadcasting a Justice Transaction expires and irrevocably transfers ownership of the stolen bounty to the attacker.

A responsible Lightning bug disclosure

So far, there are no major reports of funds stolen from this so-called ‘LND Onion Bomb’ attack. A developer responsibly disclosed it to Lightning Labs on June 20, 2023 and developers patched the exploit by October 3, of that same year with Lightning node software release LND 17.0.

Two days ago — nine months after the patch — developers publicly disclosed the issue.

It’s not the first time the Lightning network has suffered a serious vulnerability that placed users’ funds at risk. Over the years, hackers found a jamming attack, replacement cycling attack, BTCD library bug, unattributed payment routes, LNTXbot breach, and various other bugs in Lightning implementations.

Got a tip? Send us an email or ProtonMail. For more informed news, follow us on X, Instagram, Bluesky, and Google News, or subscribe to our YouTube channel.

LND Onion Bomb: Another Lightning Network bug put users’ bitcoin at risk (2024)

FAQs

What issue with Bitcoin is the Lightning Network trying to solve? ›

The Lightning Network is a second-layer network intended to solve the problem of slow transaction speeds and high costs on the Bitcoin blockchain by introducing off-chain transactions.

Should I use Bitcoin or Lightning Network? ›

The Bitcoin Network is ideal for larger value transactions, stores of value, and situations where maximum security is required. The Lightning Network is perfect for micropayments, frequent small transactions, and applications requiring instant settlements.

How much does Lightning Network charge for Bitcoin? ›

The base fee is just 1 Satoshi (0.00000001 BTC), which is roughly equal to 4 cents. Unlike Bitcoin's mainchain, fees on Lightning remain low and constant due to its high throughput. Scalability. In theory, Lightning can process one million transactions every second.

How much Bitcoin is locked in Lightning Network? ›

5.167K BTC

How do I withdraw Bitcoin from Lightning Network? ›

To complete a withdrawal on the Lightning Network you need to have an invoice from a different platform or Lightning Network enabled wallet. Generate an invoice and then copy and paste the information into Lightning Invoice. After entering the invoice information, the amount will automatically populate.

What is the Lightning Network turning Bitcoin into money? ›

The Lightning Network (LN) allows netting of Bitcoin payments outside the blockchain. We find an association between LN adoption and reduced blockchain congestion. The LN may improve the efficiency of Bitcoin as a means of payment.

What is Lightning Network on Cash App? ›

You can use Lightning to send and receive bitcoin on Cash App. The Lightning Network is a second layer technology applied to the bitcoin blockchain that is intended to enable faster transactions with little to no fees.

How to turn Bitcoin into cash? ›

How to cash out your crypto or Bitcoin
  1. Use an exchange to sell crypto.
  2. Use your broker to sell crypto.
  3. Go with a peer-to-peer trade.
  4. Cash out at a Bitcoin ATM.
  5. Trade one crypto for another and then cash out.
Feb 9, 2024

What is the maximum amount of Bitcoin in Lightning Network? ›

The Lightning Network is built for micropayments and is not suited for making large bitcoin transactions. We recommend that you deposit between 0.000001 and 0.1 BTC. Withdrawals have a maximum of 0.1 BTC. You may send more, but it could take extra time for your payment to arrive.

How much is $1 Bitcoin in US dollars? ›

BTC to United States Dollar conversion tables

The current value of 1 BTC is $60,868.56 USD.

How do I sell Bitcoin Lightning Network? ›

Choose Amount to Sell
  1. Login at Lightning Pay.
  2. On the main landing page, click "Sell Bitcoin"
  3. Enter the amount you wish to sell in any field.
  4. Tap or Click on "Sell Bitcoin Now"
Jun 1, 2024

What coins use the Lightning Network? ›

Ethereum, Litecoin, Dogecoin and every other cryptocurrency is an altcoin. Many altcoins have adapted Bitcoin's Lightning Network technology into their own networks, with Lightning Labs having implemented the Lightning Network in some projects themselves.

How do I access Bitcoin Lightning Network? ›

Receiving Bitcoin via Lightning
  1. Sign in to your Coinbase account.
  2. Select Bitcoin as the asset you wish to receive.
  3. Select the Lightning network.
  4. Follow the prompts to create your invoice. Invoices are valid for 72 hours.
  5. Share it with the sender.

Can you make money running a Bitcoin Lightning node? ›

The answer is yes…but it depends. There are two primary ways to earn sats while running a lightning node. The first is through routing fees, and the other is through leasing channels. We will go through both in this article, including some basic fee strategies.

What is a Lightning Network wallet? ›

Definition. The Lightning Network allows users to send or receive Bitcoin quickly and cheaply by moving transactions off of the main blockchain — you can think of it as being a little like an HOV lane on a highway.

What problem is Bitcoin trying to solve? ›

Bitcoin's blockchain ensures transaction traceability, deterring illicit activities, while its fixed supply of 21 million BTC offers a potential hedge against inflation and currency debasem*nt. If adoption grows, Bitcoin's transformative potential in reshaping global financial systems could become increasingly evident.

Is the Lightning Network safe for Bitcoin? ›

Lightning Network Security. While the Lightning Network is promising, it's not without risks. Its security model is different from that of a traditional blockchain. Over its history, several security risks have been identified that could compromise the network and or a payment channel.

What are the pros and cons of the Lightning Network? ›

In conclusion, the Bitcoin Lightning Network offers a range of potential benefits for the Bitcoin ecosystem, including enhanced scalability, lower fees, and faster transactions. However, it also comes with its fair share of challenges, such as centralization concerns, security vulnerabilities, and usability issues.

How to solve Bitcoin energy problem? ›

What Can Be Done about Bitcoin's Energy Problem?
  1. Transition to Proof-of-Stake Systems. Proof of stake doesn't require this same mad dash as proof of work to solve complex puzzles, and it uses fewer resources. ...
  2. Embrace Pre-Mining. ...
  3. Introduce Carbon Credits or Fees.
May 18, 2022

Top Articles
How Much You Can Make Forex Day Trading
What Living on an $11 Minimum Wage Looks Like | The Motley Fool
Hannaford Weekly Flyer Manchester Nh
فیلم رهگیر دوبله فارسی بدون سانسور نماشا
America Cuevas Desnuda
craigslist: south coast jobs, apartments, for sale, services, community, and events
Xrarse
Category: Star Wars: Galaxy of Heroes | EA Forums
Mercy MyPay (Online Pay Stubs) / mercy-mypay-online-pay-stubs.pdf / PDF4PRO
Spelunking The Den Wow
Superhot Unblocked Games
2024 U-Haul ® Truck Rental Review
Voy Boards Miss America
Red Devil 9664D Snowblower Manual
Ratchet & Clank Future: Tools of Destruction
Program Logistics and Property Manager - Baghdad, Iraq
ABCproxy | World-Leading Provider of Residential IP Proxies
Ups Drop Off Newton Ks
Dcf Training Number
25 Best Things to Do in Palermo, Sicily (Italy)
How to Make Ghee - How We Flourish
6 Most Trusted Pheromone perfumes of 2024 for Winning Over Women
Craigslist Lake Charles
Harrison County Wv Arrests This Week
Pacman Video Guatemala
Yu-Gi-Oh Card Database
Math Minor Umn
Grand Teton Pellet Stove Control Board
O'reilly Auto Parts Ozark Distribution Center Stockton Photos
Steven Batash Md Pc Photos
T&J Agnes Theaters
Foolproof Module 6 Test Answers
Bimmerpost version for Porsche forum?
Telegram update adds quote formatting and new linking options
Frcp 47
Nearest Ups Office To Me
Bianca Belair: Age, Husband, Height & More To Know
What Is Kik and Why Do Teenagers Love It?
Hireright Applicant Center Login
Doordash Promo Code Generator
Newsweek Wordle
Babykeilani
American Bully Puppies for Sale | Lancaster Puppies
The Cutest Photos of Enrique Iglesias and Anna Kournikova with Their Three Kids
Workday Latech Edu
Walmart Front Door Wreaths
Erica Mena Net Worth Forbes
Ronnie Mcnu*t Uncensored
Shannon Sharpe Pointing Gif
Bradshaw And Range Obituaries
Lagrone Funeral Chapel & Crematory Obituaries
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6173

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.