Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 5 additions & 22 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,11 @@ jobs:

- name: Check for vulnerabilities (with exclusions)
run: |
# Ignored vulnerabilities with justification:
# GO-2026-4883: Off-by-one error in Moby plugin privilege validation (CVE-2026-33997)
# Affects the Docker daemon's plugin privilege handling code. This project only
# uses the Docker client SDK (via testcontainers) for integration tests, not the
# daemon plugin subsystem. No fixed version exists for github.com/docker/docker;
# fix is only in github.com/moby/moby/v2 v2.0.0-beta.8+ which is not yet
# available as a docker/docker release.
# GO-2026-4887: AuthZ plugin bypass with oversized request bodies (CVE-2026-34040)
# Affects the Docker daemon's AuthZ plugin mechanism. This project only uses the
# Docker client SDK (via testcontainers) and does not run or configure AuthZ
# plugins. No fixed version exists for github.com/docker/docker; fix is only in
# github.com/moby/moby/v2 v2.0.0-beta.8+ which is not yet available as a
# docker/docker release.
# GO-2026-4771: Memory-safety vulnerability in pgx pgproto3 Bind.Decode (CVE-2026-33815)
# Affects the PostgreSQL wire protocol server-side message decoding. This project
# is a PostgreSQL client connecting to trusted database servers, not a PostgreSQL
# server. No fixed version of github.com/jackc/pgx/v5 exists yet.
# GO-2026-4772: Memory-safety vulnerability in pgx pgproto3 FunctionCall.Decode (CVE-2026-33816)
# Same as above — affects server-side protocol decoding. This project is a
# PostgreSQL client connecting to trusted database servers. No fixed version of
# github.com/jackc/pgx/v5 exists yet.
IGNORED_VULNS="GO-2026-4883 GO-2026-4887 GO-2026-4771 GO-2026-4772"
# No suppressions. The previous GO-2026-4883 / GO-2026-4887 (docker/docker
# daemon advisories) ignores were removed; they are resolved by the upstream
# docker/docker -> github.com/moby/moby/{client,api} migration (toolhive#5420).
# Until that bump lands, this job is expected to fail on those two advisories.
IGNORED_VULNS=""

# Show the raw output for debugging
echo "::group::govulncheck raw output"
Expand Down
30 changes: 10 additions & 20 deletions .grype.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
# Grype configuration for the registry server.
#
# Ignore rules below mirror the justifications in
# .github/workflows/security-scan.yml for govulncheck. Each entry should cite
# the equivalent GO-* advisory so the two scanners stay aligned.

ignore:
# GHSA-x744-4wpc-v9h2 / CVE-2026-34040 / GO-2026-4887
# AuthZ plugin bypass with oversized request bodies in the Docker daemon.
# This project only uses the Docker client SDK (via testcontainers) for
# integration tests; it does not run or configure AuthZ plugins. The fix
# lives in github.com/moby/moby v29.3.1 / github.com/moby/moby/v2
# v2.0.0-beta.8 — neither is available as a github.com/docker/docker
# release on the Go module proxy yet.
- vulnerability: GHSA-x744-4wpc-v9h2
package:
name: github.com/docker/docker
type: go-module
- vulnerability: CVE-2026-34040
package:
name: github.com/docker/docker
type: go-module
# No active ignore rules. The previous GHSA-x744-4wpc-v9h2 / CVE-2026-34040
# (GO-2026-4887, docker/docker daemon AuthZ advisory) suppression was removed;
# it is resolved by the upstream docker/docker -> github.com/moby/moby/{client,api}
# migration (toolhive#5420). Until that bump lands, the Grype Repository Scan is
# expected to fail on this advisory.
#
# Keep this aligned with the govulncheck ignore list in
# .github/workflows/security-scan.yml — each entry should cite the equivalent
# GO-* advisory so the two scanners stay in sync.
ignore: []
Loading