Description
A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| osrg | GoBGP | 4.0, 4.1, 4.2, 4.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gobgp | 4.4.0-1 | — |
| Debian 13 | gobgp | No fix yet | — |
| Debian 12 | gobgp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gobgp | No fix yet | — |
| Ubuntu 25.10 | gobgp | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | gobgp | No fix yet | — |
| Ubuntu Pro 24.04 LTS | gobgp | No fix yet | — |
| Ubuntu Pro 22.04 LTS | gobgp | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gobgp | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gobgp | No fix yet | — |
References
- VDB-354154 | osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control vdb-entry technical-description
- VDB-354154 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #780124 | GoBGP 4.3.0 Improper Handling of Length Parameter Inconsistency third-party-advisory
- https://github.com/osrg/gobgp/pull/3343 issue-tracking patch
- https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d patch
- https://github.com/osrg/gobgp/ product