GoBGP
GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. In version 4.4.0, an unauthenticated remote BGP peer can trigger a fatal panic in GoBGP by sending a specially crafted BGP UPDATE message. When the server receives a message with inconsistent attribute lengths, it improperly handles the internal state transition to a "withdraw" action, leading to a nil pointer dereference in the AdjRib.Update function. This causes the entire GoBGP process to crash, resulting in a complete loss of service availability. This issue has been patched in version 4.5.0.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- = 4.4.0
- >= 4.4.0, < 4.5.0
Fixed in 4.5.0
from GitHub Security Advisory GHSA-p3w2-64xm-833j
Mitigation
Upgrade github.com/osrg/gobgp/v4 to 4.5.0 or later.
References
- Vendor advisory github.com/osrg/gobgp/security/advisories/GHSA…
- Release notes github.com/osrg/gobgp/releases/tag/v4.5.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.