VDB
Sign up
MEDIUM6.8

GHSA-mfvv-mgf6-q25r

GoBGP crashes in the flowspec parser

Quick fix

GHSA-mfvv-mgf6-q25r — github.com/osrg/gobgp/v3: upgrade to the fixed version with the command below.

go get github.com/osrg/gobgp/v3@v3.35.0

Details

An issue was discovered in GoBGP before 3.35.0. An attacker can cause a crash in the pkg/packet/bgp/bgp.go flowspec parser by sending fewer than 20 bytes in a certain context.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/osrg/gobgp
Introduced in: 0

No fixed version published yet for github.com/osrg/gobgp (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/osrg/gobgp/v3
Introduced in: 0Fixed in: 3.35.0
Fixgo get github.com/osrg/gobgp/v3@v3.35.0

References