
The chain is seven steps long and needs no exploit primitive: no memory
corruption, no ROP chain, no sandbox escape. It needs a BGP session and one
well-formed message with one impossible attribute.
The chain, step by step
1. Be a peer
On a route server, that means membership of the peering LAN or a configured
customer session. At an exchange, membership is the design — hundreds of
organisations hold sessions, and the route server exists to accept them. On a
route reflector, it means a client inside the network. Embedded, it means any
peer the surrounding system trusts.
The attacker does not need to spoof an address, break TCP-AO, or compromise a
router. The protocol's own authentication is satisfied by being a legitimate
peer.
2. Bring the session up normally
OPEN, KEEPALIVE, established. The attacker behaves as a valid speaker: correct
AS number, plausible capabilities, valid routes. Nothing in the session's
history marks it as hostile, because a peer's history is not inspected at the
message level.
3. Send one UPDATE
The CVE payload is 23 bytes: an unrecognised attribute (type 0xEE or 0xFF)
with flags 0x40 — Optional bit clear, so it claims to be Well-known. The
3308 payload is equally small: AS4_PATH with length 1, before AS_PATH.
Neither needs a malformed TCP stream or an oversized message. Both are valid
BGP framing around a semantic edge.
4. The daemon panics
The parser flags the message; the session loop proceeds; the body pointer is
nil; the runtime raises a nil dereference. In the #3308 case, the merge logic
reads a stale slice index and raises index out of range. Either way, the
panic is unrecovered in a serving goroutine.
5. Every session dies at once
A Go process does not lose one goroutine to a panic. The whole process exits.
Every BGP session the daemon held — every member, every customer, every
reflector client — terminates at the same instant.
6. Restart is not recovery
Supervision restarts the daemon. Every peer reconnects and re-exchanges full
tables. At exchange scale that is minutes of convergence churn, CPU load, and
session churn — and route servers commonly rate-limit session setup, which
stretches the window further. During it, the fabric's route distribution is
degraded or absent.
7. Repeat
The attacker sends the same 23 bytes on the next session. Each cycle costs a
full table re-exchange. The server never stabilises. A single-packet outage
becomes a sustained denial of service against the exchange's peering fabric,
which propagates to members' traffic patterns.
What the chain costs the attacker
One BGP session, one message, no exploit development. The corpus calls it
cheap, repeatable and remote, and the description is exact: the hard part is
becoming a peer, and the system is built to make that easy.
Blast radius, by role
- Route server — every member's session dies; shared-fate outage.
- Route reflector — the network's iBGP control plane partitions.
- Embedded speaker — the panic kills the host process, so the blast radius
is whatever the embedding controller does: an SDN controller, a Kubernetes
networking agent, a monitoring system. - Single-session deployment — one peer, one session; the outage is local,
but the daemon is still gone.
The common property is that the daemon, not the session, is the failure unit.
That is the architectural decision the bug exploits.
Detection
Unambiguous signals:
- A Go panic on stderr:
panic: runtime error: invalid memory address or nil pointer dereferenceorpanic: runtime error: index out of range, followed
by a goroutine dump andexit status 2. - Supervision restarting the process — systemd's restart counter, Kubernetes'
restart count, or the supervisor's alert. - All peers dropping simultaneously. Individual session loss is normal;
every session dropping in the same second is a daemon death.
Weak signals:
- A verbose log may show the rejected message (
flags are invalid…or
treated as withdraw) immediately before the crash. Without verbose logging,
the message is invisible and the crash is the first evidence. - BGP monitoring and looking-glass dashboards show the session loss after the
fact, not the cause.
What is not visible: the sender. The daemon dies before it can attribute
the message, unless logging captures the peer and the message before the
panic. That is one reason the recover in part 10 is worth having: it keeps the
process alive long enough to log the peer.

Next: Part 10 — the way out: upgrade, recover, supervise, and the residual
risk that remains.

Comments (0)