fix: bump kubectl to v1.35.6 to patch Go stdlib CVEs#1201
Conversation
kubectl v1.35.5 is built with go1.25.9, whose standard library carries 8 HIGH-severity CVEs. kubectl v1.35.6 is built with go1.25.11, which fixes all of them. Because every example notebook server image inherits from the `base` image, this clears the findings across the whole image family. Resolved Go stdlib CVEs: CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39823, CVE-2026-39825, CVE-2026-39836, CVE-2026-42499, CVE-2026-42504. Verified locally with Trivy 0.71.2 (--severity CRITICAL,HIGH): the kubectl gobinary findings drop from 8 HIGH to 0 after the bump. This is a same-minor patch bump with no expected behavioral change. Signed-off-by: George Ezejiofor <ezejiofor.og@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
christian-heusel
left a comment
There was a problem hiding this comment.
Which of those CVEs are relevant for kubectl? 🤔 Are there any advisories for kubectl explicitly or does this apply to any go binary the same? 🤔
|
Good question — you're right to probe this 🙂 To be upfront: none of these are kubectl-specific advisories. They're all Go standard-library vulns (the Looking at them by reachability in kubectl's actual usage (a client talking to the API server):
So I'd frame this honestly as hygiene rather than an exploitable fix: it refreshes the bundled Go runtime to the patched toolchain and clears recurring HIGH findings that surface in every downstream notebook-server image scan (a real triage cost for users). It's a zero-risk same-minor patch bump. Happy to reword the title to reflect that (e.g. |
What this PR does
Bumps the
kubectlbinary in the notebook-server base image fromv1.35.5tov1.35.6.Why
kubectl v1.35.5is compiled withgo1.25.9, whose standard library carries 8 HIGH-severity CVEs.kubectl v1.35.6is compiled withgo1.25.11, which fixes all of them. Because every example notebook-server image (jupyter,jupyter-pytorch,rstudio, …) inherits frombase, this clears the findings across the whole image family.Resolved Go stdlib CVEs:
Validation
Built
base+jupyterlocally before and after the change and scanned with Trivy 0.71.2 (--severity CRITICAL,HIGH):usr/local/bin/kubectl(gobinary)v1.35.5)v1.35.6)Embedded Go toolchain confirmed:
v1.35.5 → go1.25.9(vulnerable),v1.35.6 → go1.25.11(patched). This is a same-minor patch bump, so no behavioral change tokubectlis expected.