Skip to content

chore: update trivy to 0.74.0 in security scan workflows - #101

Merged
null-paorodrigues merged 3 commits into
mainfrom
chore/bump-trivy
Sep 7, 2026
Merged

chore: update trivy to 0.74.0 in security scan workflows#101
null-paorodrigues merged 3 commits into
mainfrom
chore/bump-trivy

Conversation

@null-paorodrigues

@null-paorodrigues null-paorodrigues commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

All four trivy-action call sites in this repo (plus the direct install in ecr-security-scan.yml) currently run Trivy versions affected by known advisories — CVE-2026-54448 (<0.71.0), CVE-2026-55092 (<0.71.1) and CVE-2026-63328 (<0.72.0):

  • ecr-security-scan.yml installed 0.69.2 via .deb with no integrity check → now installs 0.74.0 (latest stable, no known advisories) from the release tarball, verified against the release checksums.txt before use.
  • docker-security-scan.yml (2 uses), trivy-tofu-scan.yml (2 uses) and pr-checks-actions.yml (1 use) relied on trivy-action@v0.36.0 (mutable tag) whose default bundles Trivy 0.70.0 → the action is now pinned by commit SHA everywhere and the Trivy version is set explicitly to v0.74.0.
  • sign-image composite: cosign-installer was referenced by mutable tag and relied on the installer's default cosign — now pinned by commit SHA with cosign v3.1.3 explicit (latest stable, no known advisories).

No behavior/interface changes for callers: same inputs, same outputs — only scanner/signer versions, install integrity and pinning convention.

🤖 Generated with Claude Code

the previous versions are affected by known trivy advisories
(CVE-2026-54448, CVE-2026-55092, CVE-2026-63328, patched in
0.71.x/0.72.0): ecr-security-scan installed 0.69.2 via .deb and
docker-security-scan used trivy-action's default 0.70.0.

- ecr-security-scan: install 0.74.0 from the release tarball with
  sha256 verification against the release checksums file
- docker-security-scan: pin trivy-action by commit sha and set an
  explicit trivy version instead of relying on the action default
trivy-tofu-scan.yml (2 uses, reusable with callers) and
pr-checks-actions.yml (this repo's own pr secret-scan gate) were still
running trivy-action's default trivy v0.70.0 via mutable tag; pinned by
the same commit sha with explicit version v0.74.0
the composite installed the action by mutable tag and relied on the
installer default cosign (drifts with installer releases); pinned to
the v4.1.2 commit sha with cosign v3.1.3 explicit (latest stable, no
known advisories)
@null-paorodrigues
null-paorodrigues merged commit 6380a86 into main Sep 7, 2026
2 checks passed
@null-paorodrigues
null-paorodrigues deleted the chore/bump-trivy branch September 7, 2026 20:07
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