GitHub Advisory Database
GHSA-hqhq-hp5x-xp3w
GoBGP does not properly check the input length
Details
An issue was discovered in GoBGP before 3.35.0. pkg/packet/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/osrg/gobgp | All versions, no fix listed |
| Go | github.com/osrg/gobgp/v3 | All versions before 3.35.0 (fixed in 3.35.0) |