Skip to content

build: update base images and go modules to fix vulns#85

Merged
tembleking merged 1 commit into
mainfrom
build-update-version-fix-vulns
May 18, 2026
Merged

build: update base images and go modules to fix vulns#85
tembleking merged 1 commit into
mainfrom
build-update-version-fix-vulns

Conversation

@tembleking
Copy link
Copy Markdown
Member

@tembleking tembleking commented May 18, 2026

Resolved in the Go binary (stdlib)

Resolved in the base image (UBI9 mini)

  • CVE-2026-4878 (HIGH) — libcap TOCTOU in cap_set_file()
  • CVE-2025-14087 (MEDIUM) — glib2 buffer underflow in GVariant parser
  • CVE-2025-14512glib2 integer overflow in GIO attribute escaping
  • CVE-2026-29111 (MEDIUM) — systemd-libs RCE/DoS via spurious IPC

Copilot AI review requested due to automatic review settings May 18, 2026 08:49
@tembleking tembleking requested a review from a team as a code owner May 18, 2026 08:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates base container images, Nix flake inputs, and Go module dependencies to address vulnerability findings, and bumps the package version to 1.0.9. Alongside the dependency bumps, a large number of tool registration and test files have been reformatted (likely via gofmt/formatter changes) to break mcp.NewTool(...), mcp.WithString(...), mcp.WithNumber(...), Entry(...), and DescribeTable(...) arguments onto their own lines. There are no functional code changes.

Changes:

  • Bump base UBI9 image digests (amd64/aarch64) and nixpkgs flake input to pick up vuln fixes.
  • Upgrade Go dependencies: mcp-go 0.49.0→0.54.0, ginkgo 2.28.2→2.29.0, gomega 1.39.1→1.41.0, and various indirect deps; bump version to 1.0.9 with refreshed vendorHash.
  • Reformat tool/test files (no behavioral changes) to multi-line argument style.

Reviewed changes

Copilot reviewed 41 out of 43 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docker-base-amd64.nix, docker-base-aarch64.nix Update UBI9 base image digest and hash.
flake.lock Bump nixpkgs revision.
package.nix Bump pname version to 1.0.9 and update vendorHash.
go.mod, go.sum Upgrade mcp-go, ginkgo, gomega, and indirect deps; add jsonschema/v6, dlclark/regexp2.
internal/infra/mcp/tools/tool_*.go Reformat mcp.NewTool / WithString / WithNumber arg lists onto new lines (no logic change).
internal/infra/mcp/tools/tool_*_test.go Reformat DescribeTable / Entry arg lists onto new lines (no logic change).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tembleking tembleking enabled auto-merge (squash) May 18, 2026 09:20
@tembleking tembleking merged commit deedcc2 into main May 18, 2026
10 checks passed
@tembleking tembleking deleted the build-update-version-fix-vulns branch May 18, 2026 09:23
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.

3 participants