The same engine appears in five very different jobs. In every one of them, the
parser is the exposed surface, and in every one of them the same malformed
UPDATE arrives from a peer.

The roles GoBGP fills

GoBGP is not a single-purpose appliance. The same codebase is configured into
several roles, and the role decides what a crash costs.

1. Route server

One session per member, routes re-advertised between members with BGP policy
applied. This is the JPNAP deployment the corpus records. The route server
does not appear in the data path, but every member's view of the fabric passes
through it. A crash is a shared-fate event.

2. Route reflector

Inside a single network, a route reflector solves the same scaling problem:
instead of a full iBGP mesh, clients peer with a reflector that re-advertises
their routes. A route reflector crash partitions the control plane of the
network it serves.

3. Looking glass and route visibility

The gobgp CLI and the gRPC API make the RIB queryable: what routes exist, why
one was chosen, what a peer advertised. Operations teams build looking glasses
and dashboards on top. When the daemon dies, so does the visibility — which is
the moment you most want it.

4. Embedded speaker

This is GoBGP's distinctive use. Because it is a Go library, it can be imported
into a controller or an agent and driven programmatically: a Kubernetes
networking controller that needs to announce service prefixes, an SDN
orchestrator that programs routes, a test harness that simulates peers. The
speaker is no longer a standalone daemon with a config file; it is a dependency
inside someone else's binary.

That changes the version problem. A downstream project pins a GoBGP module
version in its go.mod and ships it. The operator of that project may never
see gobgpd --version at all.

5. Protocol toolbox

GoBGP implements more than IPv4 unicast: EVPN for data-centre fabrics, BGP-LS
for topology export, flowspec for traffic filtering, VPN address families, and
ADD-PATH. Each is another parser surface, and each is a reason the project's
message-handling code is broad.

One engine, one exposure

The roles differ in blast radius, not in exposure. In every case the speaker:

  • accepts BGP messages from configured peers over TCP/179;
  • parses attributes whose types and lengths are chosen by the sender;
  • must decide, per RFC, whether a message is valid, treat-as-withdraw, or a
    session error.

The peer is trusted to be a peer. It is not trusted to be correct. That
distinction is the whole of BGP security: the session authenticates the
neighbour, not the contents of every UPDATE.

A small configuration, for scale

A minimal neighbour block looks like this:

[global.config]
  as = 65001
  router-id = "192.0.2.1"

[[neighbors]]
  [neighbors.config]
    neighbor-address = "192.0.2.2"
    peer-as = 65002

Two speakers, one session. Now multiply the neighbour block by the number of
members on a peering LAN. The daemon is the same; the consequences are not.

Why the uses matter to this bug

The CVE's exploitation chain begins with an established BGP session. In the
route-server role, that means membership of the exchange — a low bar by design,
because accepting members is what the server is for. In the embedded role, it
means any peer the surrounding system has been configured to trust. In the
route-reflector role, it means a client inside the network.

None of these is an exotic position. Each is a position the software is built
to grant. The parser has to be correct against every one of them, because the
protocol's own error handling is the only defence between a malformed UPDATE
and the process.

Next: Part 4 — what you trade for one binary: GoBGP against FRR, BIRD,
OpenBGPD, and the router vendors.