fix: security dependency upgrades

Prior to patch, occuring/reproducable when gRPC service is directly
exposed (not behind a reverse proxy / load balancer that enforces HTTP/2
compliance - path normalisation).

This would not present a public-facing issue within the current version
of this project; no user-facing gRPC routes are made avaliable that
aren't already behind `grpc-gateway` for enforcing the mappings.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
This commit is contained in:
2026-03-22 01:38:32 +00:00
parent 74c3b79052
commit 4a686228e1
2 changed files with 24 additions and 10 deletions

18
go.mod
View File

@@ -1,8 +1,6 @@
module github.com/hexolan/stocklet
go 1.24.0
toolchain go1.24.1
go 1.25.0
require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.31.0-20231106192134-1baebb0a1518.2
@@ -20,11 +18,11 @@ require (
go.opentelemetry.io/otel v1.40.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0
go.opentelemetry.io/otel/sdk v1.40.0
golang.org/x/crypto v0.46.0
golang.org/x/crypto v0.49.0
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217
google.golang.org/grpc v1.79.3
google.golang.org/protobuf v1.36.10
google.golang.org/protobuf v1.36.11
)
require (
@@ -65,9 +63,9 @@ require (
go.opentelemetry.io/otel/trace v1.40.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/net v0.48.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/text v0.32.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
golang.org/x/net v0.52.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/text v0.35.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260319201613-d00831a3d3e7 // indirect
)