Skip to content

Commit 59b9df5

Browse files
committed
fix(cve): Fix critical and important CVEs
This patch update the vulnerable GO dependencies to fix following CVEs CVE-2026-34986 CVE-2026-29181, CVE-2026-39883 CVE-2026-39821, CVE-2026-27136, CVE-2026-25681, CVE-2026-42502 CVE-2026-46595, CVE-2026-42508 Signed-off-by: Shiv Verma <shverma@redhat.com>
1 parent 8c160e2 commit 59b9df5

504 files changed

Lines changed: 34404 additions & 109748 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/golangci-lint.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@ jobs:
1313
name: lint
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
17-
with:
18-
go-version: "1.24"
19-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20-
- name: golangci-lint
21-
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
22-
with:
23-
version: v2.1.6
24-
only-new-issues: true
25-
args: --timeout=10m
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
with:
18+
fetch-depth: 0
19+
persist-credentials: false
20+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
21+
with:
22+
go-version-file: "go.mod"
23+
- name: golangci-lint
24+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
25+
with:
26+
version: v2.7.2
27+
only-new-issues: true
28+
args: --timeout=10m

go.mod

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
module github.com/tektoncd/triggers
22

3-
go 1.24.0
3+
go 1.25.11
44

55
require (
66
github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher v0.0.0-20191203181535-308b93ad1f39
7-
github.com/ahmetb/gen-crd-api-reference-docs v0.3.1-0.20220720053627-e327d0730470
87
github.com/cloudevents/sdk-go/v2 v2.16.2
98
github.com/golang/protobuf v1.5.4
109
github.com/google/cel-go v0.27.0
@@ -14,17 +13,17 @@ require (
1413
github.com/gorilla/mux v1.8.1
1514
github.com/sirupsen/logrus v1.9.4
1615
github.com/spf13/cobra v1.10.2
17-
github.com/tektoncd/pipeline v1.9.0
16+
github.com/tektoncd/pipeline v1.9.3
1817
github.com/tektoncd/plumbing v0.0.0-20250430145243-3b7cd59879c1
1918
github.com/tidwall/sjson v1.2.5
2019
go.opencensus.io v0.24.0
21-
go.opentelemetry.io/otel v1.40.0
22-
go.opentelemetry.io/otel/metric v1.40.0
20+
go.opentelemetry.io/otel v1.43.0
21+
go.opentelemetry.io/otel/metric v1.43.0
2322
go.uber.org/zap v1.27.1
2423
golang.org/x/oauth2 v0.35.0
25-
golang.org/x/sync v0.19.0
24+
golang.org/x/sync v0.20.0
2625
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
27-
google.golang.org/grpc v1.78.0
26+
google.golang.org/grpc v1.79.0
2827
google.golang.org/protobuf v1.36.11
2928
gopkg.in/yaml.v2 v2.4.0
3029
k8s.io/api v0.32.11
@@ -62,15 +61,15 @@ require (
6261
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
6362
github.com/cespare/xxhash/v2 v2.3.0 // indirect
6463
github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.4.1 // indirect
65-
github.com/cncf/xds/go v0.0.0-20251022180443-0feb69152e9f // indirect
64+
github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5 // indirect
6665
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6766
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
68-
github.com/envoyproxy/go-control-plane/envoy v1.35.0 // indirect
69-
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
67+
github.com/envoyproxy/go-control-plane/envoy v1.36.0 // indirect
68+
github.com/envoyproxy/protoc-gen-validate v1.3.0 // indirect
7069
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
7170
github.com/felixge/httpsnoop v1.0.4 // indirect
7271
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
73-
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
72+
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
7473
github.com/go-kit/log v0.2.1 // indirect
7574
github.com/go-logfmt/logfmt v0.5.1 // indirect
7675
github.com/go-logr/logr v1.4.3 // indirect
@@ -115,7 +114,6 @@ require (
115114
github.com/prometheus/statsd_exporter v0.22.7 // indirect
116115
github.com/rickb777/date v1.13.0 // indirect
117116
github.com/rickb777/plural v1.2.1 // indirect
118-
github.com/russross/blackfriday/v2 v2.1.0 // indirect
119117
github.com/spf13/pflag v1.0.9 // indirect
120118
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
121119
github.com/stretchr/testify v1.11.1 // indirect
@@ -124,36 +122,34 @@ require (
124122
github.com/tidwall/pretty v1.2.0 // indirect
125123
github.com/x448/float16 v0.8.4 // indirect
126124
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
127-
go.opentelemetry.io/contrib/detectors/gcp v1.38.0 // indirect
125+
go.opentelemetry.io/contrib/detectors/gcp v1.39.0 // indirect
128126
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
129127
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
130-
go.opentelemetry.io/otel/sdk v1.39.0 // indirect
131-
go.opentelemetry.io/otel/sdk/metric v1.39.0 // indirect
132-
go.opentelemetry.io/otel/trace v1.40.0 // indirect
128+
go.opentelemetry.io/otel/sdk v1.43.0 // indirect
129+
go.opentelemetry.io/otel/sdk/metric v1.43.0 // indirect
130+
go.opentelemetry.io/otel/trace v1.43.0 // indirect
133131
go.uber.org/automaxprocs v1.6.0 // indirect
134132
go.uber.org/multierr v1.11.0 // indirect
135133
go.yaml.in/yaml/v2 v2.4.2 // indirect
136-
golang.org/x/crypto v0.45.0 // indirect
134+
golang.org/x/crypto v0.52.0 // indirect
137135
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
138-
golang.org/x/mod v0.29.0 // indirect
139-
golang.org/x/net v0.47.0 // indirect
140-
golang.org/x/sys v0.39.0 // indirect
141-
golang.org/x/term v0.37.0 // indirect
142-
golang.org/x/text v0.31.0 // indirect
136+
golang.org/x/mod v0.35.0 // indirect
137+
golang.org/x/net v0.55.0 // indirect
138+
golang.org/x/sys v0.45.0 // indirect
139+
golang.org/x/term v0.43.0 // indirect
140+
golang.org/x/text v0.37.0 // indirect
143141
golang.org/x/time v0.12.0 // indirect
144-
golang.org/x/tools v0.38.0 // indirect
142+
golang.org/x/tools v0.44.0 // indirect
145143
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
146144
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
147145
google.golang.org/api v0.233.0 // indirect
148146
google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb // indirect
149-
google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda // indirect
150-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda // indirect
147+
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 // indirect
148+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
151149
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
152150
gopkg.in/inf.v0 v0.9.1 // indirect
153151
gopkg.in/yaml.v3 v3.0.1 // indirect
154-
k8s.io/gengo v0.0.0-20240404160639-a0386bf69313 // indirect
155152
k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 // indirect
156-
k8s.io/klog v1.0.0 // indirect
157153
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
158154
knative.dev/networking v0.0.0-20231017124814-2a7676e912b7 // indirect
159155
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect

0 commit comments

Comments
 (0)