In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/osrg/gobgp/v4/packet/bgp to version 4.7.0 or higher.
Affected versions of this package are vulnerable to Improper Validation of Array Index in the validation process for BGP UPDATE messages containing an empty AS_PATH attribute. An attacker can cause a panic and terminate the peer session by sending a malformed UPDATE with a zero-length AS_PATH to a configured confederation eBGP neighbor. This is only exploitable if the peer is configured as a confederation eBGP neighbor.