Skip to content

chore(security): renew the caddy Trivy waivers after a re-scan - #500

Merged
simonvanlierde merged 1 commit into
mainfrom
chore/caddy-trivy-waivers
Nov 1, 2026
Merged

simonvanlierde merged 1 commit into
mainfrom
chore/caddy-trivy-waivers

Conversation

@simonvanlierde

Copy link
Copy Markdown
Contributor

Summary

The caddy Trivy waivers expired today and their re-check date passed yesterday, so just check-root fails on every PR. I re-scanned caddy and renewed only what still applies.

Type of change

  • 🔧 chore: Other maintenance work

Why

  • caddy:2-alpine is still Go 1.26.8 and x/net 0.59.0, and the pinned digest is the latest. Three findings still show, so they move to 2026-12-01.
  • New: CVE-2026-116587, a go-jose JWK DoS. Caddy here parses no JWKs (admin API off, bare :8081 site so no ACME, no JWT auth), so it gets a waiver too.
  • 16 waivers matched nothing in the scan anymore, so I dropped them.

Checklist

  • I've read the contributing guidelines
  • Code follows style guidelines and passes quality checks (just ci)
  • Unit tests added/updated and passing locally (just test)
  • Documentation updated (if applicable)
  • Database migrations created (if applicable)

Notes for reviewers

Tests: scripts/check_todo_dates.py passes, and Trivy 0.76.1 with the CI flags (--ignore-unfixed --severity HIGH,CRITICAL) finds nothing in usr/bin/caddy. I scanned the caddy base image, not a built app image.

The waivers expired on 2026-11-01 and their re-check date had passed, which
fails `just check-root` on every PR.

- Re-scanned caddy:2-alpine: still Go 1.26.8 and x/net 0.59.0, and the
  pinned digest is the latest. Extend the three findings that still show to
  2026-12-01.
- Waive CVE-2026-116587 (go-jose JWK DoS): caddy here parses no JWKs, with
  the admin API off, no ACME and no JWT auth.
- Drop 16 waivers for findings the scan no longer reports.

Signed-off-by: Simon van Lierde <simonvanlierde@gmail.com>
@simonvanlierde
simonvanlierde merged commit 423388d into main Nov 1, 2026
23 checks passed
@simonvanlierde
simonvanlierde deleted the chore/caddy-trivy-waivers branch November 1, 2026 06:56
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