Close Menu

    Subscribe to Updates

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

    What's Hot

    Rare win for renewable energy: Trump admin funds geothermal network expansion

    Microsoft drops AI sales targets in half after salespeople miss their quotas

    Prime Video pulls eerily emotionless AI-generated anime dubs after complaints

    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

      Apple’s AI chief abruptly steps down

      December 3, 2025

      The issue that’s scrambling both parties: From the Politics Desk

      December 3, 2025

      More of Silicon Valley is building on free Chinese AI

      December 1, 2025

      From Steve Bannon to Elizabeth Warren, backlash erupts over push to block states from regulating AI

      November 23, 2025

      Insurance companies are trying to avoid big payouts by making AI safer

      November 19, 2025
    • Business

      Public GitLab repositories exposed more than 17,000 secrets

      November 29, 2025

      ASUS warns of new critical auth bypass flaw in AiCloud routers

      November 28, 2025

      Windows 11 gets new Cloud Rebuild, Point-in-Time Restore tools

      November 18, 2025

      Government faces questions about why US AWS outage disrupted UK tax office and banking firms

      October 23, 2025

      Amazon’s AWS outage knocked services like Alexa, Snapchat, Fortnite, Venmo and more offline

      October 21, 2025
    • Crypto

      Five Cryptocurrencies That Often Rally Around Christmas

      December 3, 2025

      Why Trump-Backed Mining Company Struggles Despite Bitcoin’s Recovery

      December 3, 2025

      XRP ETFs Extend 11-Day Inflow Streak as $1 Billion Mark Nears

      December 3, 2025

      Why AI-Driven Crypto Exploits Are More Dangerous Than Ever Before

      December 3, 2025

      Bitcoin Is Recovering, But Can It Drop Below $80,000 Again?

      December 3, 2025
    • Technology

      Rare win for renewable energy: Trump admin funds geothermal network expansion

      December 3, 2025

      Microsoft drops AI sales targets in half after salespeople miss their quotas

      December 3, 2025

      Prime Video pulls eerily emotionless AI-generated anime dubs after complaints

      December 3, 2025

      FCC boss Brendan Carr claims another victory over DEI as AT&T drops programs

      December 3, 2025

      A spectacular explosion shows China is close to obtaining reusable rockets

      December 3, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    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 Read2 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

    Rare win for renewable energy: Trump admin funds geothermal network expansion

    December 3, 2025

    Microsoft drops AI sales targets in half after salespeople miss their quotas

    December 3, 2025

    Prime Video pulls eerily emotionless AI-generated anime dubs after complaints

    December 3, 2025
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025470 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025160 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 202584 Views

    Is Libby Compatible With Kobo E-Readers?

    March 31, 202563 Views
    Don't Miss
    Technology December 3, 2025

    Rare win for renewable energy: Trump admin funds geothermal network expansion

    Rare win for renewable energy: Trump admin funds geothermal network expansion Progress on the project…

    Microsoft drops AI sales targets in half after salespeople miss their quotas

    Prime Video pulls eerily emotionless AI-generated anime dubs after complaints

    FCC boss Brendan Carr claims another victory over DEI as AT&T drops programs

    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

    Rare win for renewable energy: Trump admin funds geothermal network expansion

    December 3, 20250 Views

    Microsoft drops AI sales targets in half after salespeople miss their quotas

    December 3, 20250 Views

    Prime Video pulls eerily emotionless AI-generated anime dubs after complaints

    December 3, 20250 Views
    Most Popular

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

    March 12, 20250 Views

    Volkswagen’s cheapest EV ever is the first to use Rivian software

    March 12, 20250 Views

    Startup studio Hexa acquires majority stake in Veevart, a vertical SaaS platform for museums

    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.