Skip to content

Commit 4dba798

Browse files
committed
deps(gobgp): bump osrg/gobgp from v3.37.0 to v4.8.0
1 parent 20eaaac commit 4dba798

19 files changed

Lines changed: 87 additions & 130 deletions

File tree

.cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
"OpenSSF",
131131
"openvswitch",
132132
"OSPF",
133+
"osrg",
133134
"osv",
134135
"OVN",
135136
"OVS",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Bump optional GoBGP integration from `github.com/osrg/gobgp/v3 v3.37.0` to
13+
`github.com/osrg/gobgp/v4 v4.8.0`, including interop and integration example
14+
container images. Remove the `GO-2026-4736` vulnerability allowlist entry
15+
after upgrading to a fixed upstream release.
16+
1017
### Removed
1118

1219
- `.archive/` directory removed from the repository. Sprint planning

CHANGELOG.ru.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
## [Не выпущено]
99

10+
### Изменено
11+
12+
- Обновлена опциональная интеграция GoBGP с `github.com/osrg/gobgp/v3 v3.37.0`
13+
до `github.com/osrg/gobgp/v4 v4.8.0`, включая container images в interop и
14+
integration examples. Запись vulnerability allowlist для `GO-2026-4736`
15+
удалена после перехода на исправленный upstream release.
16+
1017
### Удалено
1118

1219
- Каталог `.archive/` удалён из репозитория. Sprint planning records,

SECURITY.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,6 @@ network. Security-relevant areas include:
6262
for loopback or trusted management networks, and plaintext non-loopback
6363
endpoints emit a startup warning
6464

65-
## Known Dependency Advisory
66-
67-
### GO-2026-4736 — GoBGP NEXT_HOP denial of service
68-
69-
`github.com/osrg/gobgp/v3 v3.37.0` is affected by
70-
[GO-2026-4736](https://pkg.go.dev/vuln/GO-2026-4736), a denial-of-service
71-
advisory in GoBGP's handling of the BGP NEXT_HOP path attribute. As of
72-
2026-04-22, the advisory does not list a fixed version.
73-
74-
GoBFD uses GoBGP only for the optional GoBGP integration path. Until an upstream
75-
fix is available, operators should keep the GoBGP gRPC endpoint bound to
76-
localhost or another trusted management network. For remote GoBGP API endpoints,
77-
enable `gobgp.tls.enabled` and configure `gobgp.tls.ca_file` / `server_name`.
78-
Do not expose plaintext GoBGP gRPC to untrusted peers.
79-
80-
CI allowlists only `GO-2026-4736` in `scripts/vuln-audit.go`. Any additional
81-
advisory reported by `govulncheck` or `osv-scanner` fails the vulnerability
82-
audit. Remove the allowlist entry after upgrading GoBGP to a fixed release.
83-
8465
## Accepted Protocol Exceptions
8566

8667
### MD5 and SHA1 in BFD authentication

deployments/integrations/bgp-fast-failover/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ services:
3434
# === GoBGP (BGP daemon, shared netns with gobfd) ===
3535

3636
gobgp:
37-
image: docker.io/jauderho/gobgp:v3.33.0
37+
image: docker.io/jauderho/gobgp:v4.8.0
3838
container_name: gobgp-bgp-failover
3939
user: "0:0"
4040
cap_add:

deployments/integrations/exabgp-anycast/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
# === GoBGP (route receiver) at 172.24.0.10 ===
1818

1919
gobgp:
20-
image: docker.io/jauderho/gobgp:v3.33.0
20+
image: docker.io/jauderho/gobgp:v4.8.0
2121
container_name: gobgp-anycast
2222
user: "0:0"
2323
cap_add:

deployments/integrations/kubernetes/manifests/daemonset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
memory: 64Mi
7575

7676
- name: gobgp
77-
image: docker.io/jauderho/gobgp:v3.33.0
77+
image: docker.io/jauderho/gobgp:v4.8.0
7878
args: ["-f", "/etc/gobgp/gobgp.toml", "-l", "info"]
7979
ports:
8080
- name: bgp

docs/en/15-security.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ GoBFD can connect to GoBGP through `gobgp.addr`. Plaintext mode is acceptable
5757
only for loopback or trusted management networks. Enable `gobgp.tls.enabled`
5858
for remote or non-loopback GoBGP endpoints.
5959

60-
The current GoBGP module has allowlisted advisory `GO-2026-4736`. The
61-
mitigation is to keep the GoBGP API on localhost or a trusted management
62-
network until upstream ships a fixed release. The allowlist entry in
63-
`scripts/vuln-audit.go` has an owner, expiry, reason, and mitigation; expiry
64-
turns the vulnerability gate into a failure.
65-
6660
## Secrets
6761

6862
RFC 5880 auth secrets may be supplied through YAML or gRPC `AddSession`.

docs/en/reference/dependency-risk.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,29 @@ The `reeflective/console` library provides the interactive shell for `gobfdctl`.
3131

3232
---
3333

34-
## osrg/gobgp/v3High Risk
34+
## osrg/gobgp/v4Medium Risk
3535

3636
| Field | Value |
3737
|-------|-------|
38-
| **Module** | `github.com/osrg/gobgp/v3 v3.37.0` |
38+
| **Module** | `github.com/osrg/gobgp/v4 v4.8.0` |
3939
| **Used in** | `internal/gobgp/` — optional GoBGP integration |
40-
| **Known advisory** | `GO-2026-4736` / `CVE-2026-30405` / `GHSA-4p9m-8gc4-rw2h` |
41-
| **Risk level** | High |
42-
| **Allowlist owner** | `maintainers` |
43-
| **Review deadline** | `2026-07-31` |
40+
| **Known advisory** | `GO-2026-4736` fixed in `v4.4.0` and later |
41+
| **Risk level** | Medium |
4442

4543
### Description
4644

47-
GoBGP is affected by a denial-of-service advisory in BGP NEXT_HOP path
48-
attribute handling. As of 2026-05-02, the Go vulnerability database does not
49-
list a fixed version.
45+
GoBGP provides the optional BGP control-plane coupling for BFD session state
46+
changes. GoBFD pins `v4.8.0`, which includes the upstream fix for
47+
`GO-2026-4736` / `CVE-2026-30405`.
5048

5149
### Mitigation
5250

53-
1. **Bounded exposure**: The GoBGP path is optional and should connect only to a
54-
GoBGP gRPC endpoint on localhost or a trusted management network.
55-
2. **Controlled CI allowlist**: `scripts/vuln-audit.go` allowlists only
56-
`GO-2026-4736`; the entry includes owner, expiry, reason, and mitigation.
57-
Any additional `govulncheck` or OSV finding, and any expired allowlist
58-
entry, fails CI.
59-
3. **Upgrade trigger**: Remove the allowlist entry after upstream publishes a
60-
fixed GoBGP release and `go mod tidy` moves the module to that version.
51+
1. **Bounded exposure**: Keep the GoBGP gRPC endpoint on localhost or a trusted
52+
management network unless TLS is enabled.
53+
2. **TLS for remote endpoints**: Enable `gobgp.tls.enabled` and configure
54+
`gobgp.tls.ca_file` / `gobgp.tls.server_name` for non-loopback deployments.
55+
3. **Strict vulnerability gate**: `scripts/vuln-audit.go` does not allowlist
56+
GoBGP advisories; any new `govulncheck` or OSV finding fails CI.
6157

6258
---
6359

docs/ru/15-security.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ GoBFD подключается к GoBGP через `gobgp.addr`. Plaintext до
5757
loopback или доверенной management-сети. Для удалённых или non-loopback
5858
endpoints включайте `gobgp.tls.enabled`.
5959

60-
Текущий модуль GoBGP имеет allowlisted advisory `GO-2026-4736`. Митигация:
61-
держать GoBGP API на localhost или в доверенной management-сети, пока upstream
62-
не выпустит исправленную версию. Запись allowlist в `scripts/vuln-audit.go`
63-
содержит owner, expiry, reason и mitigation; после expiry vulnerability gate
64-
падает.
65-
6660
## Секреты
6761

6862
RFC 5880 auth secrets можно передавать через YAML или gRPC `AddSession`.

0 commit comments

Comments
 (0)