Arista EOS flaw lets a crafted packet crash BGP and may let attackers run code
- Affected
- EOS
4.36.2Fand below,4.35.6M,4.34.8Mand4.33.10Mand below, and end-of-support trains from4.25.1F. All versions and fixes
- CVE
- Vendor
- Arista Networks
A stack overflow in Arista’s EOS lets a crafted packet crash the BGP agent on switches and routers with BGP configured, dropping every BGP session on the device. Arista says an attacker may also be able to run code. It scores the flaw 9.8 under CVSS 3.1 and knows of no attacks. Exposure requires the multi-agent routing protocol model and an established BGP peering.
When the BGP agent crashes, the device loses all of its BGP sessions, and routing may be disrupted until the process recovers, Arista says. Because of the kind of flaw, it may also be possible to run arbitrary code, which could compromise the device’s data and integrity. Arista scores the flaw 9.3 under CVSS 4.0 and tracks it as .
A device is exposed only when BGP is configured and it uses the multi-agent routing protocol model. The vulnerable code runs whenever a BGP peering session is established. Devices using the older ribd model, or not running BGP, aren’t exposed. Arista lists dozens of affected platforms, from the 720 and 7050 series to the 7800R chassis, CloudEOS and CloudVision eXchange.
Affected EOS versions are 4.36.2F and below in the 4.36 train, 4.35.6M, 4.34.8M and 4.33.10M and below in theirs, and every end-of-support train from 4.25.1F. Arista has no hotfix for the flaw. Joshua Foote of JP Morgan Chase reported it.
For BGP sessions that don’t rely on the Tunnel Encapsulation Attribute, Arista’s workaround discards that attribute from all peers. It also recommends TCP-AO authentication for BGP peers, so only authorized peers can establish a session.
- CVE
- Vendor
- Arista Networks
What to do
5 steps
Affected and fixed versions
| Product | Affected | Fixed |
|---|---|---|
| EOS 4.36 | 4.36.2F and below | 4.36.3M or later |
| EOS 4.35 | 4.35.6M and below | 4.35.7M or later |
| EOS 4.34 | 4.34.8M and below | 4.34.9M or later |
| EOS 4.33 | 4.33.10M and below | 4.33.11M or later |
| EOS end-of-support trains | Every release from 4.25.1F | None, so upgrade to a supported train |
- Product
- EOS 4.36
- Affected
4.36.2Fand below- Fixed
4.36.3Mor later
- Product
- EOS 4.35
- Affected
4.35.6Mand below- Fixed
4.35.7Mor later
- Product
- EOS 4.34
- Affected
4.34.8Mand below- Fixed
4.34.9Mor later
- Product
- EOS 4.33
- Affected
4.33.10Mand below- Fixed
4.33.11Mor later
- Product
- EOS end-of-support trains
- Affected
- Every release from
4.25.1F - Fixed
- None, so upgrade to a supported train
Sources
- Arista advisory 0208Primary source arista.com
- CVE recordPrimary source cve.org