Repository navigation
chore(image): accept Debian won't-fix LOW CVEs in .trivyignore - #573
Merged
Merged
Conversation
Validate Expiration directives in security exception files (.trivyignore, dependency-review-allow.txt); fail on expired or undated entries. Register console script. Refs: #566
Add pre-commit hook and CI/nightly steps that fail on expired .trivyignore entries; replace inline dependency-review expiry bash with check-expirations. Refs: #566
Document 78 unfixed Debian 12.14 LOW OS-package CVEs with shared risk note and 2026-12-01 expiration. Refs: #566
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Accept 78 unfixed LOW Debian OS-package CVEs from the next-release image into
.trivyignorewith a shared risk note and 2026-12-01 expiration. Adds acheck-expirationsutility and wires it into pre-commit, CI, and the nightly security scan so expired exception entries fail the pipeline (IEC 62304 exception register model). The GitHub Security tab LOW count will drop once:latestis refreshed to the post-buckets-B–D image.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.trivyignore— 78 unfixed Debian 12.14 LOW CVEs grouped by package family; shared risk assessment andExpiration: 2026-12-01packages/vig-utils— Newcheck-expirationsCLI to validateExpiration:directives; 13 unit tests.pre-commit-config.yaml— Hook runscheck-expirationson.trivyignorechanges.github/workflows/ci.yml— Validate.trivyignorebefore Trivy scan; replace inline dependency-review expiry bash withcheck-expirations.github/workflows/security-scan.yml— Validate.trivyignorebefore nightly:latestscanCHANGELOG.md,SECURITY.md,docs/CONTAINER_SECURITY.md— Document accepted-risk set and enforcement cadenceassets/workspace/— Sync manifest updates for pre-commit config and CHANGELOGChangelog Entry
Security
check-expirationsutility with pre-commit and CI enforcement so expired.trivyignoreentries fail the pipeline:latestTesting
just test)Manual Testing Details
uv run pytest packages/vig-utils/tests/test_check_expirations.py— 13 passeduv run check-expirations .trivyignore— 80 entries validatedtrivy image --severity LOW --ignorefile .trivyignore ghcr.io/vig-os/devcontainer:dev— 0 LOW findings after ignoreChecklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Trivy scan of the current
:devimage (post buckets B–D) found 183 LOW findings → 78 unique unfixed CVEs, down from ~395 in the issue. GHCR:latestis still on 0.3.4; Security tab LOW count will reflect accepted risk only after the next release promotes:latest.Refs: #566