Skip to content

fix(security): ignore fixed jq CVEs pending :latest rebuild - #811

Merged
c-vigo merged 1 commit into
devfrom
bugfix/805-jq-cve-trivyignore
Jul 4, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/805-jq-cve-trivyignore

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The nightly Scheduled Security Scan on ghcr.io/vig-os/devcontainer:latest now fails the fixable-HIGH gate on the Debian jq/libjq1 stack:

CVE Severity Installed Fixed in
CVE-2026-32316 HIGH 1.6-2.1+deb12u1 1.6-2.1+deb12u2
CVE-2026-40164 HIGH 1.6-2.1+deb12u1 1.6-2.1+deb12u2

Failing run: https://github.com/vig-os/devcontainer/actions/runs/28699509481

Why a .trivyignore entry (not a rebuild)

The fix exists upstream (deb12u2), but :latest is frozen pending the Nix publish-cutover (#639) and the Debian rebuild path was decommissioned (#642), so :latest cannot be rebuilt to pull deb12u2. This adds a time-boxed ignore (Expiration: 2026-09-01) until the Nix image ships, mirroring the existing gh-binary exception pattern. The check-expirations hook will force review/removal at expiry.

Risk is LOW in devcontainer context: jq processes trusted local JSON in devcontainer workflows, not untrusted input.

Verification

  • uv run check-expirations .trivyignore .vulnixignore → Validated 39 exception(s)
  • just precommit → all hooks green (incl. check-expirations)
  • just test-vig-utils → 513 passed

The next scheduled scan will pass the gate once merged and the image is remediated, allowing #805 to auto-close.

Closes #805

The nightly security scan on ghcr.io/vig-os/devcontainer:latest now fails
the fixable-HIGH gate on Debian jq/libjq1: CVE-2026-32316 and
CVE-2026-40164 (installed 1.6-2.1+deb12u1, fixed in 1.6-2.1+deb12u2).

The fix exists upstream, but :latest is frozen pending the Nix
publish-cutover (#639) and the Debian rebuild path was decommissioned
(#642), so :latest cannot be rebuilt to pull deb12u2. Add a time-boxed
.trivyignore entry (Expiration 2026-09-01) until the Nix image ships,
mirroring the existing gh-binary exception pattern.

Config-only change; not unit-testable (TDD skipped). check-expirations
parses the new entry and all vig-utils tests remain green.

Refs: #805
@c-vigo
c-vigo merged commit 1724a97 into dev Jul 4, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/805-jq-cve-trivyignore branch July 4, 2026 14:44
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.

1 participant