Description
A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate 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-354155 | osrg GoBGP bgp.go DecodeFromBytes off-by-one vdb-entry technical-description
- VDB-354155 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #780179 | osrg GoBGP 4.3.0 Off-by-one Error third-party-advisory
- https://github.com/osrg/gobgp/pull/3342 issue-tracking patch
- https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f patch
- https://github.com/osrg/gobgp/ product