Skip to content

Commit 2df3b8c

Browse files
jjbustamanteclaude
andauthored
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

File tree

.grype.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,18 @@ ignore:
33
- vulnerability: CVE-2021-22570 # false positive, see https://github.com/anchore/grype/issues/558
44
- vulnerability: CVE-2024-41110 # non-impactful as we only use docker as a client
55
- vulnerability: GHSA-v23v-6jw2-98fq # non-impactful as we only use docker as a client
6-
- vulnerability: GHSA-x744-4wpc-v9h2 # AuthZ plugin bypass; not exploitable as pack only uses docker as a client. Fixed in moby/moby/v2 but not backported to docker/docker module.
7-
- vulnerability: GHSA-pxq6-2prw-chj9 # plugin privilege validation off-by-one; not exploitable as pack only uses docker as a client. Fixed in moby/moby/v2 but not backported to docker/docker module.
6+
# docker/docker daemon-side advisories: not exploitable as pack only uses docker as a client
7+
# (imports api/types, client, volume/mounts and pkg/* helpers, never the daemon code paths).
8+
# Fixed only in github.com/moby/moby/v2, not backported to the github.com/docker/docker module.
9+
# NOTE: grype matches the printed primary ID, not aliases, so we list every ID form that can
10+
# surface across the go-module (binary) scan and the released-image scan.
11+
- vulnerability: GO-2026-4887 # AuthZ plugin bypass (CVE-2026-34040 / GHSA-x744-4wpc-v9h2)
12+
- vulnerability: GHSA-x744-4wpc-v9h2
13+
- vulnerability: GO-2026-4883 # plugin privilege validation off-by-one (CVE-2026-33997 / GHSA-pxq6-2prw-chj9)
14+
- vulnerability: GHSA-pxq6-2prw-chj9
15+
- vulnerability: GHSA-x86f-5xw2-fm2r # decompression-binary RCE via container filesystem (daemon-side)
16+
- vulnerability: GHSA-rg2x-37c3-w2rh # docker cp bind-mount redirect race (CVE-2026-42306, daemon-side)
17+
- vulnerability: GHSA-vp62-88p7-qqf5 # docker cp symlink-swap race (CVE-2026-41568, daemon-side)
18+
# docker/cli: installed v29.4.3 is already newer than the fixed v29.2.0; grype mis-orders the
19+
# +incompatible pseudo-version. Already remediated, kept here to silence the false positive.
20+
- vulnerability: GO-2026-4610 # GHSA / CVE for docker/cli auth, fixed in 29.2.0 (we ship >= 29.4.3)

0 commit comments

Comments
 (0)