Skip to content

Commit 37cb8db

Browse files
authored
Merge pull request #4 from dash14/security/add-trivyignore-for-non-impacting-cves
Suppress non-impacting security scan alerts
2 parents fb0f4d1 + b3234f0 commit 37cb8db

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed

.github/workflows/example-audit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Example (audit mode)
33
on:
44
workflow_dispatch:
55

6+
permissions: {}
7+
68
jobs:
79
build:
810
runs-on: ubuntu-latest

.github/workflows/example-restrict.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Example (restrict mode)
33
on:
44
workflow_dispatch:
55

6+
permissions: {}
7+
68
jobs:
79
build:
810
runs-on: ubuntu-latest

.github/workflows/image-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
with:
4444
image-ref: ${{ github.event_name == 'schedule' && format('ghcr.io/{0}:latest', github.repository) || 'buildcage:scan' }}
4545
ignore-unfixed: true
46+
trivyignores: .trivyignore
4647
scanners: vuln
4748
format: sarif
4849
output: trivy-results.sarif

.trivyignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# crypto/tls: Unexpected session resumption (Go stdlib)
2+
# Affected binaries (buildkitd, buildkit-runc, CNI plugins) do not use
3+
# TLS session resumption with dynamic Config mutation, so no practical impact.
4+
CVE-2025-68121
5+
6+
# OpenTelemetry Go SDK PATH Hijacking (macOS/Darwin only)
7+
# This product runs in Linux containers; macOS code path is never executed.
8+
CVE-2026-24051
9+
10+
# Go stdlib vulnerabilities affecting CNI plugins only.
11+
# CNI plugins (bridge, host-local, loopback, firewall) do not perform
12+
# TLS connections, certificate validation, ZIP processing, or URL parsing.
13+
CVE-2025-61730
14+
CVE-2025-61729
15+
CVE-2025-61728
16+
CVE-2025-61726
17+
18+
# buildkit-runc does not use proxy-based HTTP communication or HTML parsing.
19+
CVE-2025-22870
20+
CVE-2025-22872
21+
22+
# CNI plugins do not perform x509 certificate validation.
23+
CVE-2025-61727
24+
25+
# sigstore/rekor server-side vulnerabilities.
26+
# buildkitd does not run as a Rekor server.
27+
CVE-2026-23831
28+
CVE-2026-24117
29+
30+
# go-tuf client vulnerabilities.
31+
# buildkitd does not directly use TUF client with untrusted repositories.
32+
CVE-2026-23991
33+
CVE-2026-23992
34+
CVE-2026-24686
35+
36+
# sigstore TUF client path traversal via disk cache.
37+
# buildkitd does not use sigstore TUF client with disk caching directly.
38+
CVE-2026-24137
39+
40+
# libexpat integer overflow in tag buffer reallocation.
41+
# No external XML processing path exists in this product.
42+
CVE-2026-25210

0 commit comments

Comments
 (0)