Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM cgr.dev/chainguard/wolfi-base AS go
RUN apk update && apk add ca-certificates-bundle build-base openssh git go-1.25~=1.25.4
RUN apk update && apk add ca-certificates-bundle build-base openssh git go-1.25~=1.25.5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

Go 1.25.5 release security advisories CVE

💡 Result:

Go 1.25.5 addresses two security issues: CVE-2025-61729 (excessive resource consumption when printing HostnameError error strings in crypto/x509) and CVE-2025-61727 (excluded subdomain constraint not restricting wildcard SANs in crypto/x509). [1][2]


Go 1.25.5 patch includes security fixes.

This update to Go 1.25.5 addresses CVE-2025-61729 (excessive resource consumption in crypto/x509 error printing) and CVE-2025-61727 (wildcard SAN constraint validation in crypto/x509). The patch-level version bump is appropriate for deploying these security improvements.

🤖 Prompt for AI Agents
In Dockerfile around line 2, the Go runtime is not pinned to the patched
release; update the APK Go package spec to ensure the image installs Go 1.25.5
(or a later 1.25.x patched release) so the CVE fixes are included, then rebuild
the image — change the go package version token to the patched 1.25.5 (or
higher) variant used by this Alpine base and re-run the build to verify the new
Go version is installed.

ENTRYPOINT ["/usr/bin/go"]