Shutterstock cover by yanik88 (edited by Mariia Kozyr)
An Ethereum Core Dev Saved Avalanche From $24B Network āInsta-Deathā
In March, PĆ©ter SzilĆ”gyi found a vulnerability in Avalanche that had the potential to take down the entire network. Now itās been patched, heās revealed how bad things could have been if the bug were exploited.Ā
A malicious actor could have taken down the entire Avalanche network for less than $200,000.Ā
Avalanche Vulnerability Revealed
A since-patched vulnerability with the power to take down the Avalanche blockchain has been revealed.Ā
Ethereum core developer PĆ©ter SzilĆ”gyi released an Avalanche Vulnerability report Thursday, detailing a critical bug he found in the Avalanche network code earlier this year. In the report, dated March 29, 2022, SzilĆ”gyi explained how Avalanche was vulnerable to attack by sending a malicious PeerList package to nodes and validators on the network.Ā
Hypothetically, an attacker could have started up a new validator node, sent out malicious packets to other nodes and validators, and instantly crashed the entire Avalanche network. āSince all nodes in the network connect to all validators, itās pretty much an insta-death for the entire network,ā SzilĆ”gyi wrote.Ā
While such an attack would have cost 2,000 AVAX tokens to fund the new validator node, it would have been a small price to pay for the potential mayhem such a move could have produced. SzilĆ”gyi explained that a malicious actor could easily recoup the cost by opening a short position against AVAX before the attack, essentially allowing them to take the network down at no cost to themselves. When the vulnerability was discovered, 2,000 AVAX tokens could have been purchased on the open market for around $179,000. At the same time, Avalanche’s market capitalization stood at over $24 billion.Ā
The news moving money, markets, and the world—before your day starts.
Daily. Free. Join 34,000+ readers across crypto, finance, and policy.
Crypto Briefing reached out to SzilĆ”gyi to ask about how he came across the vulnerability. āI was trying to wrap my head around how the [Avalanche] networking works and found the packet handling a bit peculiar for my taste,ā he explained. āSo I wrote a fuzzer to see if I can choke it. It went boom fairly fast.ā After discovering the bug, SzilĆ”gyi contacted Avalanche’s developer team, who promptly patched it a day later in the avalanchego v1.7.9 upgrade.
Avalanche is one of several Layer 1 networks that soared in popularity during the 2021 bull market. In response to rising fees on Ethereum mainnet, users flocked to competing smart contract-enabled networks to participate in DeFi and mint NFTs for a fraction of what it cost on Ethereum. The networkās native AVAX token hit an all-time high of $144.96 on Nov 21, 2021, after trading at around $3.21 at the beginning of the year. In 2022, it’s price has suffered along with the rest of the crypto market in response to the Federal Reserve’s interest rate hikes and worsening macroeconomic conditions. AVAX currently trades at around $18.81.Ā
Crypto Briefing reached out to Ava Labs for comment but did not receive a response at press time.Ā
Disclosure: At the time of writing this piece, the author owned ETH and several other cryptocurrencies.Ā