Skip to content

Commit c9aaf1c

Browse files
RoiGlinikclaude
andcommitted
- Upgrade Go builder from 1.26 to 1.26.2 (fixes 4 stdlib CVEs in crypto/x509 and crypto/tls) - go.mod bumped to go 1.26.2 to match builder - Fresh pull of cgr.dev/chainguard/bash:latest provides glibc >= 2.44 (fixes CVE-2026-4046, CVE-2026-4437) - Verified: docker scout reports 0C 0H 0M 0L on rebuilt image Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8109553 commit c9aaf1c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM golang:1.26 AS builder
1+
# Patching CVE-2026-32280, CVE-2026-32281, CVE-2026-32283, CVE-2026-33810: requires Go >= 1.26.2
2+
FROM golang:1.26.2 AS builder
23

34
RUN apt-get update && \
45
dpkg --add-architecture arm64 &&\
@@ -11,6 +12,7 @@ ADD . "$GOPATH/src/github.com/bitnami-labs/kubewatch"
1112
RUN cd "$GOPATH/src/github.com/bitnami-labs/kubewatch" && \
1213
CGO_ENABLED=0 GOOS=linux GOARCH=$(dpkg --print-architecture) go build -a --installsuffix cgo --ldflags="-s" -o /kubewatch
1314

15+
# Patching CVE-2026-4046, CVE-2026-4437: requires glibc >= 2.44, provided by chainguard/bash built after May 2026
1416
FROM cgr.dev/chainguard/bash:latest
1517

1618
COPY --from=builder /kubewatch /bin/kubewatch

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bitnami-labs/kubewatch
22

3-
go 1.26.0
3+
go 1.26.2
44

55
require (
66
github.com/fatih/structtag v1.2.0

0 commit comments

Comments
 (0)