From 4f313c9270ee36d0d4803f12ccad12f2e7eb6ccb Mon Sep 17 00:00:00 2001 From: Edimar Cardoso Date: Fri, 23 Oct 2026 13:45:06 -0300 Subject: [PATCH] Build with Go 1.27.3 to pick up standard library security fixes CI and the release workflow take the Go version from go.mod, so release binaries were built with go1.27.0, and govulncheck reports standard library vulnerabilities reachable from this code with that toolchain, including GO-2026-6809 in crypto/x509. Require go 1.27.3 and pin the container build image to golang:1.27.3 instead of the floating 1.27 tag. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UnMqRceEUND6tegqqQKH1W --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1331c7..1047ded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # container with a read-only root file system; kbd writes nothing except, # when KBD_FETCH_URL is set, the fetched bundle into KBD_DATA (mount a # small writable volume or tmpfs there). See docs/hosting.md. -FROM golang:1.27 AS build +FROM golang:1.27.3 AS build WORKDIR /src COPY go.mod go.sum ./ RUN go mod download diff --git a/go.mod b/go.mod index 0b429e8..d1b104b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/openbasalt/knowledge -go 1.27.0 +go 1.27.3 require ( github.com/santhosh-tekuri/jsonschema/v6 v6.0.3