Skip to content

Add license policy exceptions for github-mcp-server Debian base OS packages - #52912

Merged
pelikhan merged 2 commits into
mainfrom
copilot/container-image-scan-fix-vulnerabilities-again
Aug 15, 2026
Merged

Add license policy exceptions for github-mcp-server Debian base OS packages#52912
pelikhan merged 2 commits into
mainfrom
copilot/container-image-scan-fix-vulnerabilities-again

Conversation

Copilot AI commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

The container image security scan flagged 1 Critical, 3 High, 3 Medium, 1 Low, 7 Negligible vulnerabilities and 6 license policy violations for ghcr.io/github/github-mcp-server:v1.9.0.

Root cause

  • The 6 license violations come from Debian base-OS packages (base-files, libc6, libssl3, media-types, netbase, tzdata) shipped with the upstream image — these carry GPL-2.0/Artistic licenses or no declared license, and weren't covered by the existing .grant.yaml allowlist.
  • The vulnerability findings (libc6/libssl3 CVEs with no fix version specified, and a vendored golang.org/x/text inside the github-mcp-server binary) live entirely inside the upstream image and are not addressable from this repo:
    • v1.9.0 is already the latest published tag, and its digest already matches our pinned reference — there's no newer build to pin to yet.
    • gh-aw's own go.mod already uses golang.org/x/text v0.41.0 (well past the 0.39.0 fix), so this dependency issue is confined to the upstream binary, not gh-aw.
    • There's no existing suppression mechanism for grype findings (unlike the license allowlist), so these will clear once upstream rebuilds the image.

Changes

  • .grant.yaml: added the Debian base-OS packages to ignore-packages, following the same documented-exception pattern already used for Alpine and Node.js/npm base packages.
  • CONTRIBUTING.md: documented the new exception alongside the existing ones.
  • Changeset: added an entry describing the fix.

…ckages

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix vulnerabilities in container image ghcr.io/github/github-mcp-server Add license policy exceptions for github-mcp-server Debian base OS packages Aug 15, 2026
Copilot AI requested a review from pelikhan August 15, 2026 15:24
@pelikhan
pelikhan marked this pull request as ready for review August 15, 2026 15:24
Copilot AI balanced review requested due to automatic review settings August 15, 2026 15:24
@pelikhan
pelikhan merged commit cd970e6 into main Aug 15, 2026
@pelikhan
pelikhan deleted the copilot/container-image-scan-fix-vulnerabilities-again branch August 15, 2026 15:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds documented Grant license-policy exceptions for unavoidable Debian packages in the upstream GitHub MCP server image.

Changes:

  • Adds six Debian packages to Grant’s ignore list.
  • Documents the exceptions and records a patch changeset.
Show a summary per file
File Description
.grant.yaml Adds Debian base-image package exceptions.
CONTRIBUTING.md Documents the exception rationale and scope.
.changeset/github-mcp-server-license-exceptions.md Records the policy update.

Review details

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.86.3

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.

[container-image-scan] Container findings for ghcr.io/github/github-mcp-server

3 participants