Skip to content

Commit 69e8301

Browse files
committed
chore/deps: patch all open Trivy and Dependabot findings
Bump golang.org/x/{crypto,net,text,mod}, github.com/klauspost/compress, github.com/go-jose/go-jose/v4, google.golang.org/grpc, and go.opentelemetry.io/otel/sdk in go.mod and lib/go.mod so that `trivy fs --severity HIGH,CRITICAL` is clean and Dependabot alerts #91-#96 close. No code changes.
1 parent 99c43e8 commit 69e8301

5 files changed

Lines changed: 136 additions & 133 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ All notable changes to `src-cli` are documented in this file.
1616
### Changed
1717

1818
- Updated Go to 1.26.10 and the Alpine `ca-certificates-bundle` in Docker images to 20261020-r0 to stop trusting the compromised eMudhra CAs ([CVE-2026-111943](https://emudhra.we-have-a-problem.com/)).
19+
- Updated Go dependencies to patch all open Trivy and Dependabot findings: `golang.org/x/crypto`, `golang.org/x/net`, `golang.org/x/text`, `golang.org/x/mod`, `github.com/klauspost/compress`, `github.com/go-jose/go-jose/v4`, `google.golang.org/grpc`, and `go.opentelemetry.io/otel/sdk`.
1920
- HTTP requests now fail instead of hanging forever if the server does not start responding within 1 minute. Set the `SRC_RESPONSE_HEADER_TIMEOUT` environment variable to change this timeout, or to `0` to disable it. Responses that stream data for a long time (for example, large search job results) are not affected.
2021
- `src search-jobs logs` and `src search-jobs results` now use the standard API client, gaining proxy support, `-insecure-skip-verify`, and cross-host redirect protection, and now report an error on non-200 responses instead of writing the error page into the output.
2122
- The command list in `src help` is now generated from the registered commands instead of being maintained by hand. `src debug`, `src snapshot`, and `src lsp` now appear in it; aliases are shown after each description.

‎go.mod‎

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/sourcegraph/src-cli
33
go 1.26.10
44

55
require (
6-
cloud.google.com/go/storage v1.50.0
6+
cloud.google.com/go/storage v1.56.0
77
github.com/aws/aws-sdk-go-v2/config v1.18.13
88
github.com/aws/aws-sdk-go-v2/service/ec2 v1.86.0
99
github.com/aws/aws-sdk-go-v2/service/eks v1.27.3
@@ -32,8 +32,8 @@ require (
3232
github.com/tliron/glsp v0.2.2
3333
github.com/urfave/cli/v3 v3.8.0
3434
github.com/zalando/go-keyring v0.2.6
35-
golang.org/x/sync v0.22.0
36-
google.golang.org/api v0.256.0
35+
golang.org/x/sync v0.23.0
36+
google.golang.org/api v0.264.0
3737
google.golang.org/protobuf v1.36.11
3838
gopkg.in/yaml.v3 v3.0.1
3939
jaytaylor.com/html2text v0.0.0-20200412013138-3577fbdbcff7
@@ -44,13 +44,13 @@ require (
4444

4545
require (
4646
al.essio.dev/pkg/shellescape v1.5.1 // indirect
47-
cel.dev/expr v0.25.1 // indirect
48-
cloud.google.com/go/auth v0.17.0 // indirect
47+
cel.dev/expr v0.25.2 // indirect
48+
cloud.google.com/go/auth v0.18.2 // indirect
4949
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
50-
cloud.google.com/go/monitoring v1.24.2 // indirect
51-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0 // indirect
52-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.50.0 // indirect
53-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.50.0 // indirect
50+
cloud.google.com/go/monitoring v1.24.3 // indirect
51+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 // indirect
52+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.53.0 // indirect
53+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.53.0 // indirect
5454
github.com/alecthomas/chroma/v2 v2.14.0 // indirect
5555
github.com/cespare/xxhash/v2 v2.3.0 // indirect
5656
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
@@ -65,7 +65,7 @@ require (
6565
github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect
6666
github.com/felixge/httpsnoop v1.0.4 // indirect
6767
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
68-
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
68+
github.com/go-jose/go-jose/v4 v4.1.6 // indirect
6969
github.com/go-logr/stdr v1.2.2 // indirect
7070
github.com/godbus/dbus/v5 v5.1.0 // indirect
7171
github.com/google/gnostic-models v0.6.9 // indirect
@@ -81,32 +81,32 @@ require (
8181
github.com/segmentio/ksuid v1.0.4 // indirect
8282
github.com/sourcegraph/beaut v0.0.0-20240611013027-627e4c25335a // indirect
8383
github.com/sourcegraph/jsonrpc2 v0.2.0 // indirect
84-
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
84+
github.com/spiffe/go-spiffe/v2 v2.7.0 // indirect
8585
github.com/tliron/commonlog v0.2.19 // indirect
8686
github.com/tliron/kutil v0.3.27 // indirect
8787
github.com/x448/float16 v0.8.4 // indirect
8888
github.com/xlab/treeprint v1.2.0 // indirect
8989
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
9090
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
91-
go.opentelemetry.io/contrib/detectors/gcp v1.43.0 // indirect
91+
go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect
9292
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect
9393
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
94-
go.opentelemetry.io/otel v1.43.0 // indirect
95-
go.opentelemetry.io/otel/metric v1.43.0 // indirect
96-
go.opentelemetry.io/otel/sdk v1.43.0 // indirect
97-
go.opentelemetry.io/otel/sdk/metric v1.43.0 // indirect
98-
go.opentelemetry.io/otel/trace v1.43.0 // indirect
99-
golang.org/x/net v0.57.0 // indirect
100-
google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478 // indirect
101-
google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 // indirect
94+
go.opentelemetry.io/otel v1.45.0 // indirect
95+
go.opentelemetry.io/otel/metric v1.45.0 // indirect
96+
go.opentelemetry.io/otel/sdk v1.45.0 // indirect
97+
go.opentelemetry.io/otel/sdk/metric v1.45.0 // indirect
98+
go.opentelemetry.io/otel/trace v1.45.0 // indirect
99+
golang.org/x/net v0.60.0 // indirect
100+
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect
101+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
102102
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
103103
sigs.k8s.io/randfill v1.0.0 // indirect
104104
)
105105

106106
require (
107-
cloud.google.com/go v0.120.0 // indirect
107+
cloud.google.com/go v0.121.6 // indirect
108108
cloud.google.com/go/compute/metadata v0.9.0 // indirect
109-
cloud.google.com/go/iam v1.5.2 // indirect
109+
cloud.google.com/go/iam v1.5.3 // indirect
110110
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
111111
github.com/Masterminds/semver v1.5.0 // indirect
112112
github.com/aws/aws-sdk-go-v2 v1.17.5 // indirect
@@ -133,20 +133,20 @@ require (
133133
github.com/fatih/color v1.18.0 // indirect
134134
github.com/getsentry/sentry-go v0.27.0 // indirect
135135
github.com/ghodss/yaml v1.0.0 // indirect
136-
github.com/go-logr/logr v1.4.3 // indirect
136+
github.com/go-logr/logr v1.4.4 // indirect
137137
github.com/go-openapi/jsonpointer v0.21.0 // indirect
138138
github.com/go-openapi/jsonreference v0.20.2 // indirect
139139
github.com/go-openapi/swag v0.23.0 // indirect
140140
github.com/gogo/protobuf v1.3.2 // indirect
141141
github.com/google/uuid v1.6.0 // indirect
142-
github.com/googleapis/enterprise-certificate-proxy v0.3.7 // indirect
143-
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
142+
github.com/googleapis/enterprise-certificate-proxy v0.3.11 // indirect
143+
github.com/googleapis/gax-go/v2 v2.17.0 // indirect
144144
github.com/gorilla/css v1.0.1 // indirect
145145
github.com/hexops/gotextdiff v1.0.3 // indirect
146146
github.com/hexops/valast v1.4.4 // indirect
147147
github.com/jmespath/go-jmespath v0.4.0 // indirect
148148
github.com/josharian/intern v1.0.0 // indirect
149-
github.com/klauspost/compress v1.18.0 // indirect
149+
github.com/klauspost/compress v1.18.7 // indirect
150150
github.com/klauspost/pgzip v1.2.6 // indirect
151151
github.com/kr/pretty v0.3.1 // indirect
152152
github.com/kr/text v0.2.0 // indirect
@@ -179,16 +179,16 @@ require (
179179
go.uber.org/atomic v1.11.0 // indirect
180180
go.uber.org/multierr v1.11.0 // indirect
181181
go.uber.org/zap v1.24.0 // indirect
182-
golang.org/x/crypto v0.54.0 // indirect
183-
golang.org/x/mod v0.37.0 // indirect
182+
golang.org/x/crypto v0.57.0 // indirect
183+
golang.org/x/mod v0.41.0 // indirect
184184
golang.org/x/oauth2 v0.36.0 // indirect
185-
golang.org/x/sys v0.47.0 // indirect
186-
golang.org/x/term v0.45.0 // indirect
187-
golang.org/x/text v0.40.0 // indirect
185+
golang.org/x/sys v0.48.0 // indirect
186+
golang.org/x/term v0.46.0 // indirect
187+
golang.org/x/text v0.42.0 // indirect
188188
golang.org/x/time v0.14.0 // indirect
189-
golang.org/x/tools v0.47.0 // indirect
190-
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
191-
google.golang.org/grpc v1.82.1 // indirect
189+
golang.org/x/tools v0.49.0 // indirect
190+
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 // indirect
191+
google.golang.org/grpc v1.83.2 // indirect
192192
gopkg.in/inf.v0 v0.9.1 // indirect; direct
193193
gopkg.in/yaml.v2 v2.4.0 // indirect
194194
k8s.io/klog/v2 v2.130.1 // indirect

0 commit comments

Comments
 (0)