GoBGP confederation validation panics on empty AS_PATH attribute
osrg gobgp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/osrg/gobgp/v4 Go |
|
|
Original description
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Prior to version 4.7.0, GoBGP accepts a zero-length AS_PATH during UPDATE decoding and later panics while validating that attribute for a confederation eBGP peer. The vulnerable path is in the BGP UPDATE validator: a malformed UPDATE that should be rejected as a malformed AS_PATH instead reaches an unchecked `p.Value[0]` access, allowing a configured confederation eBGP peer to trigger a denial of service. Version 4.7.0 patches the issue.
From the CVE record · GitHub_M