Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Your PC deserves around-the-clock privacy protection—get AdGuard’s Family Plan for $16

    At $75, who gives a crap if you drop this Chromebook?

    Getting sick of all the Prime Video ads? Amazon quietly doubled them

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      How far will AI go to defend its own survival?

      June 2, 2025

      The internet thinks this video from Gaza is AI. Here’s how we proved it isn’t.

      May 30, 2025

      Nvidia CEO hails Trump’s plan to rescind some export curbs on AI chips to China

      May 22, 2025

      AI poses a bigger threat to women’s work, than men’s, report says

      May 21, 2025

      AMD CEO Lisa Su calls China a ‘large opportunity’ and warns against strict U.S. chip controls

      May 8, 2025
    • Business

      Google links massive cloud outage to API management issue

      June 13, 2025

      The EU challenges Google and Cloudflare with its very own DNS resolver that can filter dangerous traffic

      June 11, 2025

      These two Ivanti bugs are allowing hackers to target cloud instances

      May 21, 2025

      How cloud and AI transform and improve customer experiences

      May 10, 2025

      Cookie-Bite attack PoC uses Chrome extension to steal session tokens

      April 22, 2025
    • Crypto

      Another LastPass User Loses $200,000 in Crypto to Hackers

      June 13, 2025

      Stellar (XLM) Price Hits Monthly Low – What’s Next?

      June 13, 2025

      Crypto Founder Sentenced to 8 Months in Prison on Wash Trading Charges

      June 13, 2025

      3 Altcoins That Are Thriving Despite Today’s Brief Market Crash

      June 13, 2025

      Top Altcoins Trending in Nigeria as Traders Shift Beyond Bitcoin, Ethereum

      June 13, 2025
    • Technology

      Your PC deserves around-the-clock privacy protection—get AdGuard’s Family Plan for $16

      June 14, 2025

      At $75, who gives a crap if you drop this Chromebook?

      June 14, 2025

      Getting sick of all the Prime Video ads? Amazon quietly doubled them

      June 14, 2025

      Bad news for older PCs: DDR4 memory is nearing an end

      June 14, 2025

      Want the best iPadOS 26 experience this fall? Get this M3 iPad Air for just $499

      June 14, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Shop Now
    Tech AI Verse
    You are at:Home»Technology»BGP handling bug causes widespread internet routing instability
    Technology

    BGP handling bug causes widespread internet routing instability

    TechAiVerseBy TechAiVerseMay 27, 2025No Comments5 Mins Read0 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    BGP handling bug causes widespread internet routing instability
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    BGP handling bug causes widespread internet routing instability

    May 27 2025

    At 7AM (UTC) on Wednesday May 20th 2025 a BGP message was propagated that triggered surprising (to many) behaviours with two major BGP implementations that are often used for carrying internet traffic.

    This caused a large number of “internet facing” BGP sessions to automatically shut down, causing at the very least some routing instability, and at worst brief loss of connectivity for some networks.

    What was the message?

    Using the sessions that people feed to bgp.tools, we can see here a version of the update that caused this behavior, it is a relatively unremarkable BGP Update for a /16, except it had a BGP Prefix-SID Attribute that was not only unwelcome (it is unexpected to see this on internet table BGP updates), but it was also corrupt with all of its internal data being 0x00.

    Most implementations (IOS-XR/Nokia SR-OS) correctly filtered this out without causing any problems assuming their systems have been setup for RFC7606 (“BGP error tolerance”), however an interesting interaction with JunOS and Arista EOS caused JunOS to carry the corrupt message, and Arista EOS devices to reset sessions when receiving the message from (likely) a JunOS device.

    Since a lot of internet transit carriers use Juniper hardware running JunOS, this meant that those running Arista EOS and connected to an upstream transit carrier router running JunOS would have had their access to the internet severed for a period (likely up to 10 mins).

    Who emitted the message?

    After filtering through the whole bgp.tools archive for that period, it would appear that a number of AS origins were involved with this incident. Suggesting that rather than the attribute having been added by the network that originated the prefix, it was added by a carrier in the middle on its way to the wider internet.

    The 4 candidates that appear in all of the offending messages are:

    • AS9304 ( Hutchison Global Communications Limited )
    • AS135338 ( Starcloud Information Limited )
    • AS151326 ( DCConnect Communication Pte. Ltd. )
    • AS138077 ( PT Abhinawa Sumberdaya Asia )

    However, bgp.tools has captured routes for the impacted prefixes without the faulty BGP attribute from “[…] 151326 138077 […]“, meaning the culprit that added the attribute was likely Starcloud (AS135338) or Hutchison (AS9304).

    Some prefixes seen in updates carrying the attribute (despite very likely not being the ones that added the offending attribute) are

    • 156.230.0.0/16
    • 138.113.116.0/24
    • 163.171.102.0/24
    • 163.171.103.0/24
    • 163.171.104.0/24

    This incident was further amplified by Hutchison/AS9304 being on a large number of internet exchanges, meaning that the offending messages were sent to IX route servers that typically are running bird. Since Bird does not support BGP SID, the message was distributed to many multi-terabit internet exchanges without being filtered, spreading the chaos to more than just internet transit sessions.

    What is BGP Prefix-SID?

    BGP Prefix-SID Attribute should generally only be seen in internal BGP sessions, as the point of them (as defined in RFC8669) is to help define the route the traffic will take within a single network to get to the destination.

    The reason that one of these attributes leaked out into the global routing table in the first place could have been caused by an external BGP session being configured as an internal one.

    Who was impacted?

    While it is hard to definitively claim who was impacted, after looking at networks with very large churn (compared to their size) immediately after the initial problematic BGP message was emitted, I count around 100 separate networks that hit issues, some high confidence examples include:

    • SpaceX Starlink AS14593
    • Zscaler AS62044 / AS53813
    • Bytedance AS396986
    • Disney Worldwide Services AS23344
    • Nagasaki Cable Media Inc AS10000
    • Global Secure Layer AS7578
    • UpCloud AS202053
    • Netskope AS55256
    • Teleguam Holdings AS9246

    In “normal” times the bgp.tools’s route collector ingests around 20,000 to 30,000 messages per second, during this incident the average 10 second message rate was well over 150,000 /s. Indicating significant disruption to many internet paths.

    Vendors need to get their act together

    While the root cause (or even perpetrator) is not entirely clear, the fact that it propagated over the internet at scale is a demonstration of the situation/risk that I described in my previous post “Grave flaws in BGP Error handling” – August 2023.

    In this case while other vendors detected the faulty attribute and suppressed the announcement, Juniper allowed it to propagate to peers, until it ultimately hit Arista devices that did not (or contained faulty) have BGP error tolerance code.

    Junipers own documentation for JunOS’s BGP error tolerance points out that it does not look at all parts of the message, despite it potentially being able to understand that it is faulty.

    This is a curious decision, in which JunOS will save itself from a remote induced session reset, but then forward such messages to other peers (or in business words, likely towards your customers).

    Conclusions

    I have no happy ending for this. While the outage was short, the impact could have been worse. These kinds of incidents/bugs keep me up at night. As more and more services move to be IP based the scope of internet outages is no longer “consumers cannot get to their email”, but it starts to become “TV broadcasts fail” and “emergency service calls no longer work”. These begin to increase the chance of real world human casualties triggered (or at least exacerbated) by bugs such as this.

    Filtering through the updates and piecing together this incident was a lot of fun, if you run a network yourself with a full routing table, and you are not part of the already 2570 running sessions that give bgp.tools data, you can help the debugging of these future incidents by setting up such data feeds!


    If you want to stay up to date with the blog you can use the RSS feed or you can follow me on Fediverse @benjojo@benjojo.co.uk

    Until next time!

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleCanon Law Ninja
    Next Article How a hawk learned to use traffic signals to hunt more successfully
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Your PC deserves around-the-clock privacy protection—get AdGuard’s Family Plan for $16

    June 14, 2025

    At $75, who gives a crap if you drop this Chromebook?

    June 14, 2025

    Getting sick of all the Prime Video ads? Amazon quietly doubled them

    June 14, 2025
    Leave A Reply Cancel Reply

    Top Posts

    New Akira ransomware decryptor cracks encryptions keys using GPUs

    March 16, 202523 Views

    OpenAI details ChatGPT-o3, o4-mini, o4-mini-high usage limits

    April 19, 202518 Views

    Rsync replaced with openrsync on macOS Sequoia

    April 7, 202514 Views

    Arizona moves to ban AI use in reviewing medical claims

    March 12, 202511 Views
    Don't Miss
    Technology June 14, 2025

    Your PC deserves around-the-clock privacy protection—get AdGuard’s Family Plan for $16

    Your PC deserves around-the-clock privacy protection—get AdGuard’s Family Plan for $16 Skip to content Image:…

    At $75, who gives a crap if you drop this Chromebook?

    Getting sick of all the Prime Video ads? Amazon quietly doubled them

    Bad news for older PCs: DDR4 memory is nearing an end

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Your PC deserves around-the-clock privacy protection—get AdGuard’s Family Plan for $16

    June 14, 20250 Views

    At $75, who gives a crap if you drop this Chromebook?

    June 14, 20250 Views

    Getting sick of all the Prime Video ads? Amazon quietly doubled them

    June 14, 20250 Views
    Most Popular

    Ethereum must hold $2,000 support or risk dropping to $1,850 – Here’s why

    March 12, 20250 Views

    Xiaomi 15 Ultra Officially Launched in China, Malaysia launch to follow after global event

    March 12, 20250 Views

    Apple thinks people won’t use MagSafe on iPhone 16e

    March 12, 20250 Views
    © 2025 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.