Skip to content

Conversation

@misakwa
Copy link

@misakwa misakwa commented Dec 10, 2025

This patch addresses security vulnerabilities in the kratos v25.4.0 binary by updating the Go build toolchain and golang.org/x/crypto dependency.

CVEs Fixed:

Additionally fixes 2 LOW severity busybox CVEs in Alpine runtime:

Changes:

  • Update Dockerfile-build: golang:1.25-trixie → golang:1.25.5-trixie
  • Update Dockerfile-debug: golang:1.25-trixie → golang:1.25.5-trixie
  • Update Dockerfile-alpine: alpine:3.20.0 → alpine:3.20
  • Update go.mod: golang.org/x/crypto v0.42.0 → v0.45.0
  • Update go.sum: Transitive dependencies updated via go mod tidy

Build Verification:

  • Binary built with Go 1.25.5: ✓
  • Uses x/crypto v0.45.0: ✓
  • Smoke test passed: ✓

Generated with Claude Code (https://claude.com/claude-code)

This patch addresses security vulnerabilities in the kratos v25.4.0 binary
by updating the Go build toolchain and golang.org/x/crypto dependency.

CVEs Fixed:
- CVE-2025-47913 (HIGH, CVSS 7.5): x/crypto vulnerability
- CVE-2025-58187 (HIGH, CVSS 7.5): Go stdlib vulnerability
- CVE-2025-61729 (HIGH, CVSS 7.5): Go stdlib vulnerability
- CVE-2025-61727 (MEDIUM, CVSS 6.5): Go stdlib vulnerability
- CVE-2025-47914 (MEDIUM, CVSS 5.3): x/crypto vulnerability
- CVE-2025-58181 (MEDIUM, CVSS 5.3): x/crypto vulnerability

Additionally fixes 2 LOW severity busybox CVEs in Alpine runtime:
- CVE-2025-46394 (LOW, CVSS 3.2): busybox vulnerability
- CVE-2024-58251 (LOW, CVSS 2.5): busybox vulnerability

Changes:
- Update Dockerfile-build: golang:1.25-trixie → golang:1.25.5-trixie
- Update Dockerfile-debug: golang:1.25-trixie → golang:1.25.5-trixie
- Update Dockerfile-alpine: alpine:3.20.0 → alpine:3.20
- Update go.mod: golang.org/x/crypto v0.42.0 → v0.45.0
- Update go.sum: Transitive dependencies updated via go mod tidy

Build Verification:
- Binary built with Go 1.25.5: ✓
- Uses x/crypto v0.45.0: ✓
- Smoke test passed: ✓

Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants