Commit ff00ebf
chore(deps): bump x/net 0.54.0 -> 0.55.0 and x/crypto 0.51.0 -> 0.52.0
Backport of the same fix opened against main in #4496.
Fixes the govulncheck failure that is currently red on REL_5_8. 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:
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.
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 8d483b1 commit ff00ebf
2 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
| 238 | + | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
| 248 | + | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
| 261 | + | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
0 commit comments