Skip to content

Commit 0e0237d

Browse files
cx-anurag-dalkeclaudecx-atish-jadhav
authored
Update brotli dependency to v1.2.7 (AST-189161) (#1610)
* Update github.com/andybalholm/brotli from v1.2.0 to v1.2.7 (AST-189161) Indirect dependency pulled in via anchore/syft -> anchore/archiver. No API removals; archiver only uses NewWriterLevel/NewReader, which are unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Update Docker base image checkmarx/bash:5.3 to latest digest (AST-189161) Bumps the SHA256-pinned base image to the 5.3-r14 build pushed on 2026-11-04. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Replace .trivyignore entries with current binary findings (AST-189161) Ignore GO-2026-5932 (x/crypto/openpgp via helm provenance), CVE-2026-78661 and CVE-2026-97045 (x/net/html via syft Maven cataloger). Remove the previous Wolfi base-image and syft/docker entries, which no longer apply. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Restore syft and docker entries in .trivyignore (AST-189161) CVE-2026-33481 (syft temp cleanup) and CVE-2026-33997 (moby plugin privilege bypass) are still reported against the binary. Neither has an adoptable fix: syft >= 1.42.3 reintroduces the binary-size regression reverted in AST-188320 and docker/docker has no 29.x release on its module path. Justifications and reachability analysis are recorded in the file. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Bump golang.org/x/net to v0.62.0 and trim .trivyignore (AST-189161) Bump the indirect golang.org/x/net dependency to v0.62.0, which fixes CVE-2026-78661 and CVE-2026-97045, so their ignore entries are dropped. Keep only the ignores that cannot be fixed directly: GO-2026-5932 (x/crypto openpgp, via helm), CVE-2026-33481 (syft) and CVE-2026-33997 (docker). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: atishj99 <atish.jadhav@checkmarx.com>
1 parent b773cb4 commit 0e0237d

4 files changed

Lines changed: 18 additions & 47 deletions

File tree

‎.trivyignore‎

Lines changed: 11 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,6 @@
11
# Trivy Ignore Configuration
2-
# These vulnerabilities are in the Wolfi Linux base image or have compatibility issues
3-
4-
# ============================================================================
5-
# BASE IMAGE VULNERABILITIES (Wolfi) - Cannot be patched by CLI code
6-
# ============================================================================
7-
8-
# CVE-2026-8674: glibc DNS stub resolver DoS via long search domain
9-
# Severity: MEDIUM
10-
# Component: zlib 1.3.2-r6 (in Wolfi base image)
11-
# Impact: Local DNS parsing issue - requires malformed DNS configuration
12-
# Reason: Base image vulnerability - awaiting Wolfi update to zlib 1.3.2.1_rc20260601-r0
13-
CVE-2026-8674
14-
15-
# CVE-2026-86805: glibc TOCTOU privilege escalation
16-
# Severity: MEDIUM
17-
# Component: glibc 2.44-r7 (in base image)
18-
# Impact: Local attacker with file system access - requires race condition exploit
19-
# Reason: Base image vulnerability - awaiting Wolfi update to glibc 2.44-r8
20-
CVE-2026-86805
21-
22-
# CVE-2026-89092: glibc nscd stack overflow
23-
# Severity: MEDIUM
24-
# Component: glibc 2.44-r7 (in base image)
25-
# Impact: Local DoS via nscd service - requires nscd to be running
26-
# Reason: Base image vulnerability - awaiting Wolfi update to glibc 2.44-r8
27-
CVE-2026-89092
28-
29-
# CVE-2026-95818: glibc local DoS and information disclosure
30-
# Severity: MEDIUM
31-
# Component: glibc 2.44-r7 (in base image)
32-
# Impact: Local attacker can cause denial of service
33-
# Reason: Base image vulnerability - awaiting Wolfi update to glibc 2.44-r8
34-
CVE-2026-95818
35-
36-
# CVE-2026-85091: zlib heap buffer overflow
37-
# Severity: MEDIUM
38-
# Component: zlib 1.3.2-r6 (in Wolfi base image)
39-
# Impact: Heap buffer overflow in compression library
40-
# Reason: Base image vulnerability - awaiting Wolfi update to 1.3.2.1_rc20260601-r0
41-
CVE-2026-85091
2+
# These vulnerabilities are in Go dependencies that cannot be updated or fixed directly.
3+
# Review periodically and remove entries once the underlying dependency is upgraded.
424

435
# ============================================================================
446
# BINARY VULNERABILITIES - Compatibility Issues (Not Updated)
@@ -62,3 +24,12 @@ CVE-2026-33481
6224
# Docker plugin system - uses only core Docker SDK for container scanning.
6325
# Status: Risk accepted - vulnerability not exploitable in CLI usage pattern
6426
CVE-2026-33997
27+
28+
# GO-2026-5932: golang.org/x/crypto/openpgp is unmaintained and unsafe by design
29+
# Severity: UNKNOWN
30+
# Component: golang.org/x/crypto v0.58.0 (transitive via helm.sh/helm/v3/pkg/provenance)
31+
# Reason: Not imported by ast-cli directly; the "fixed" version is an untagged pseudo-version.
32+
# Awaiting Helm to drop x/crypto/openpgp.
33+
# Impact: CLI does not perform OpenPGP signing/verification.
34+
# Status: Risk accepted
35+
GO-2026-5932

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM checkmarx/bash:5.3-r14-365aa4c3c7b3fc@sha256:365aa4c3c7b3fcb580687c427e90ee9cda26e75cd12cae3a2b521777c0b4d3f3
1+
FROM checkmarx/bash:5.3-r14-e52a196c3a914c@sha256:e52a196c3a914c6496c72465ad4a8f7efd1ff8ad988b328cbb92018652c23c7d
22
USER nonroot
33

44
COPY cx /app/bin/cx

‎go.mod‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ require (
102102
github.com/anchore/packageurl-go v0.1.1-0.20250220190351-d62adb6e1115 // indirect
103103
github.com/anchore/stereoscope v0.1.0 // indirect
104104
github.com/anchore/syft v1.21.0 // indirect
105-
github.com/andybalholm/brotli v1.2.0 // indirect
105+
github.com/andybalholm/brotli v1.2.7 // indirect
106106
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
107107
github.com/aquasecurity/go-pep440-version v0.0.1 // indirect
108108
github.com/aquasecurity/go-version v0.0.1 // indirect
@@ -296,7 +296,7 @@ require (
296296
go.yaml.in/yaml/v3 v3.0.4 // indirect
297297
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f // indirect
298298
golang.org/x/mod v0.41.0 // indirect
299-
golang.org/x/net v0.60.0 // indirect
299+
golang.org/x/net v0.62.0 // indirect
300300
golang.org/x/oauth2 v0.36.0 // indirect
301301
golang.org/x/sys v0.49.0 // indirect
302302
golang.org/x/term v0.47.0 // indirect

‎go.sum‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ github.com/anchore/stereoscope v0.1.0/go.mod h1:3vasimie0IJOXvMbMpjwvwIHBDA1+192
151151
github.com/anchore/syft v1.21.0 h1:JHmYOnEbCJsElROCCfg+3oIODw1LQLfXGkIrmXNZYsI=
152152
github.com/anchore/syft v1.21.0/go.mod h1:8i8Yp/MiSOdqID0+6eiwE9bOJWM7fEBYitINZyr2G6s=
153153
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
154-
github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
155-
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
154+
github.com/andybalholm/brotli v1.2.7 h1:UgafRPGMam5ySHfRkhthMqOFA6IFoeF3D7mWIDLjG5A=
155+
github.com/andybalholm/brotli v1.2.7/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
156156
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
157157
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
158158
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
@@ -1201,8 +1201,8 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx
12011201
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
12021202
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
12031203
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
1204-
golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU=
1205-
golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
1204+
golang.org/x/net v0.62.0 h1:18ELalfM5+XNRwzM2nYqXsZQ9ByS1uhj2O/U7+5jqRY=
1205+
golang.org/x/net v0.62.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI=
12061206
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
12071207
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
12081208
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=

0 commit comments

Comments
 (0)