Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-9135 Overview
CVE-2024-9135 is a memory leak vulnerability in Arista EOS when BGP Link State is configured. When a BGP peer flaps, the BGP agent fails to release allocated memory properly. Repeated peer flaps exhaust available memory and can terminate BGP routing processing, triggering route flapping across the network.
The weakness is classified under CWE-401 (Missing Release of Memory after Effective Lifetime). The flaw is reachable over the network without authentication and affects availability of the routing control plane.
Critical Impact
Sustained BGP peer flapping on a Link State-enabled Arista EOS device can crash the BGP agent, interrupt route processing, and cascade routing instability throughout adjacent networks.
Affected Products
- Arista EOS with BGP Link State (BGP-LS) feature configured
- See the Arista Security Advisory 21092 for the full list of affected EOS release trains
- Devices acting as BGP-LS producers or consumers in service provider and data center fabrics
Discovery Timeline
- 2025-03-04 - CVE-2024-9135 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-9135
Vulnerability Analysis
The vulnerability resides in the BGP agent on Arista EOS devices configured with BGP Link State. BGP-LS extends BGP to distribute network topology, including IGP link, node, and prefix information, to external consumers such as SDN controllers.
Each time a BGP peer transitions between established and down states, the agent allocates data structures to track Link State NLRI (Network Layer Reachability Information). The agent does not reliably free these structures on peer teardown. Over time, resident memory grows unbounded.
When memory pressure reaches system thresholds, the EOS process manager terminates the BGP agent. Restart of the agent forces BGP sessions to re-establish, which produces route flapping and transient loss of reachability on prefixes learned via the device.
Root Cause
The root cause is a missing deallocation path in the BGP-LS code (CWE-401). Session teardown logic does not release all state associated with Link State NLRI advertised or received from the flapping peer. Each flap leaks a measurable amount of heap memory.
Attack Vector
An unauthenticated remote attacker who can influence BGP session stability toward an affected device can trigger the leak. In practice, this requires reach to a configured BGP neighbor, which is typically a trusted peer. Repeated TCP RST, hold timer expiry, or administrative session resets amplify the leak.
No verified public exploit or proof-of-concept has been published. See the Arista Security Advisory 21092 for vendor technical details.
Detection Methods for CVE-2024-9135
Indicators of Compromise
- Steady growth of BGP agent resident memory on EOS devices with bgp link-state configured, correlated with peer flap events
- Unexpected BGP agent restarts logged by the EOS process manager (ProcMgr-worker events for the Bgp process)
- Route flapping and withdrawal/announcement bursts on prefixes learned from the affected device
Detection Strategies
- Enable syslog forwarding from EOS devices and alert on AGENT-6-INITIALIZED and BGP-5-ADJCHANGE messages correlated in short time windows
- Track show processes memory output for the BGP agent over time and alert on monotonic growth that does not plateau
- Monitor BGP session state transitions via SNMP or streaming telemetry and flag peers exhibiting repeated flaps
Monitoring Recommendations
- Ingest EOS syslog, SNMP, and gNMI telemetry into a centralized analytics platform for longitudinal analysis of BGP agent health
- Baseline normal BGP agent memory consumption per platform and generate alerts on deviation beyond that baseline
- Correlate upstream link instability with BGP agent memory growth to identify at-risk devices early
How to Mitigate CVE-2024-9135
Immediate Actions Required
- Inventory all Arista EOS devices and identify those with BGP Link State configured under router bgp address-family link-state
- Apply the fixed EOS release or hotfix published in the Arista Security Advisory to affected devices during a maintenance window
- Stabilize flapping BGP peers by investigating underlying transport, timer, or policy issues that cause repeated session resets
Patch Information
Arista has published fixed EOS versions and a hotfix in Arista Security Advisory 21092. Review the advisory for the specific train and release that address CVE-2024-9135, and schedule upgrades according to the vendor's guidance.
Workarounds
- Remove bgp link-state configuration from the BGP address-family where the feature is not required by the network design
- Restart the BGP agent on affected devices using agent Bgp terminate to reclaim leaked memory as a short-term operational measure
- Harden BGP session stability with appropriate BFD timers, MD5 or TCP-AO authentication, and infrastructure ACLs limiting TCP/179 reachability
# Example EOS configuration to disable BGP Link State as a temporary workaround
configure terminal
router bgp 65000
no address-family link-state
exit
end
write memory
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

