Skip to content

fix: remediate nightly Trivy gate vulnerabilities (OpenSSL, gh, typos) - #514

Merged
c-vigo merged 1 commit into
devfrom
bugfix/512-remediate-latest-image-vulnerabilities
Apr 10, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/512-remediate-latest-image-vulnerabilities

Conversation

@c-vigo

@c-vigo c-vigo commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Description

Remediate HIGH/CRITICAL vulnerabilities found by the nightly Trivy security scan on the :latest image. Upgrades fixable packages (OpenSSL) and refreshes .trivyignore with properly documented suppressions for unfixable base-image CVEs and Go stdlib issues in vendored binaries.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

Changelog Entry

Security

  • Nightly Trivy gate remediation (OpenSSL, gh, typos) (#512)
    • Pin python:3.12-slim-bookworm to current digest and add targeted libssl3/openssl upgrade to 3.0.19-1~deb12u2 (CVE-2026-28390, CVE-2026-31790)
    • Refresh .trivyignore: drop resolved gh/docker-cli and gRPC entries; add Go stdlib and typos-related suppressions plus jwt-token false positive
    • Suppress unfixable base-image CVEs: ncurses (CVE-2025-69720), SQLite (CVE-2025-7458), systemd (CVE-2026-29111), zlib/minizip (CVE-2023-45853)

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — changes are to Containerfile build directives and Trivy suppression metadata. Verification will occur via the CI image build and nightly Trivy scan.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

This PR addresses the automated issue opened by the nightly Trivy security scan workflow. The OpenSSL CVEs are fixable via an apt upgrade; remaining findings are unfixable in Debian bookworm stable and are suppressed with risk assessments and expiration dates in .trivyignore.

Refs: #512

- Pin python:3.12-slim-bookworm base image to latest digest
- Add targeted libssl3/openssl upgrade to 3.0.19-1~deb12u2
  (CVE-2026-28390, CVE-2026-31790)
- Refresh .trivyignore:
  - Drop resolved: CVE-2025-68121, CVE-2025-61726, CVE-2025-61728,
    CVE-2025-61730, CVE-2025-15558, CVE-2026-33186
  - Add gh Go stdlib: CVE-2026-32281, CVE-2026-32288, CVE-2026-32289
  - Add typos dependency: CVE-2026-25727
  - Add jwt-token false positive suppression

Refs: #512
@c-vigo c-vigo self-assigned this Apr 10, 2026
@c-vigo
c-vigo enabled auto-merge April 10, 2026 12:39
@c-vigo
c-vigo merged commit 9a93a21 into dev Apr 10, 2026
11 checks passed
@c-vigo
c-vigo deleted the bugfix/512-remediate-latest-image-vulnerabilities branch April 10, 2026 12:47
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