Commit f0ce347
chore(deps): bump x/net 0.54.0 -> 0.55.0 and x/crypto 0.51.0 -> 0.52.0
Fixes the govulncheck failure that is currently red on main and on every
PR. The blocking finding is a Symbol-level vulnerability in our test
helpers:
Vulnerability #1: GO-2026-5026
Invoking failure to reject ASCII-only Punycode-encoded labels in
golang.org/x/net/idna
Module: golang.org/x/net
Found in: golang.org/x/net@v0.54.0
Fixed in: golang.org/x/net@v0.55.0
Example traces found:
#1: internal/testing/require/kubernetes.go:93:37:
require.KubernetesAtLeast calls
discovery.DiscoveryClient.ServerVersion, which eventually
calls idna.ToASCII
The same scan also reports 18 module-level (uncalled) vulnerabilities,
which this bump clears as a side-effect:
* 5 more golang.org/x/net/html vulns:
GO-2026-5025/5027/5028/5029/5030 (fixed in x/net v0.55.0)
* 13 golang.org/x/crypto/ssh* vulns:
GO-2026-5005/5006/5013/5014/5015/5016/5017/5018/5019/5020/
GO-2026-5021/5023/5033 (fixed in x/crypto v0.52.0)
Compatibility check:
* k8s.io/api, k8s.io/apimachinery, k8s.io/client-go @ v0.36.1
each require x/net >= v0.49.0 (we go to v0.55.0)
* sigs.k8s.io/controller-runtime @ v0.24.1
requires x/net >= v0.49.0 (we go to v0.55.0)
Both bumps are minor patch releases on the golang.org/x/* track, with
no breaking changes. 'go mod tidy' additionally bumped x/sys
v0.44.0 -> v0.45.0 to satisfy the new x/crypto/x/net requirement.
This patch should also be back-ported to REL_5_8, which is on the same
vulnerable versions.
Refs: https://pkg.go.dev/vuln/GO-2026-5026
https://pkg.go.dev/vuln/GO-2026-5005
https://pkg.go.dev/vuln/GO-2026-5023
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 826f9aa commit f0ce347
2 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
| 253 | + | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
| 263 | + | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments