Commit 2df3b8c
chore: suppress unreachable docker daemon CVEs in grype config (#2644)
The grype scan against the pack binary still flagged six docker findings
that our .grype.yaml intended to ignore. The existing ignore rules listed
the GHSA aliases, but grype matches the printed primary ID and the
go-module scan prints the GO-2026-* IDs, so the suppressions never fired.
All six are non-impactful for pack:
- docker/docker GO-2026-4887, GO-2026-4883, GHSA-x86f-5xw2-fm2r,
GHSA-rg2x-37c3-w2rh, GHSA-vp62-88p7-qqf5 are daemon-side (AuthZ bypass,
plugin-privilege off-by-one, docker cp races, decompression RCE). pack
only uses docker as a client (api/types, client, volume/mounts, pkg/*
helpers) and never runs the daemon paths. None are fixed in the
github.com/docker/docker module; the fix exists only in the rewritten
github.com/moby/moby/v2 module, which the ecosystem has not adopted.
- docker/cli GO-2026-4610 is already remediated: we ship v29.4.3, newer
than the fixed v29.2.0; grype mis-orders the +incompatible version.
Listing every ID form (GO + GHSA) makes the suppressions apply across
both the go-module binary scan and the released-image scan. With this,
`grype out/pack` reports no vulnerabilities.
Signed-off-by: Juan Bustamante <bustamantejj@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 7f2f74e commit 2df3b8c
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments