build: Update golang.org/x/net/http2 to fix GO-2022-1144

An attacker can cause excessive memory growth in a Go server accepting
HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP
header keys sent by the client. While the total number of entries in
this cache is capped, an attacker sending very large keys can cause
the server to allocate approximately 64 MiB per open connection.
This commit is contained in:
Nick Craig-Wood
2022-12-12 12:49:12 +00:00
parent 397f428c48
commit 53ff5bb205
2 changed files with 12 additions and 4 deletions
+4 -4
View File
@@ -62,11 +62,11 @@ require (
go.etcd.io/bbolt v1.3.6
goftp.io/server v0.4.1
golang.org/x/crypto v0.3.0
golang.org/x/net v0.2.0
golang.org/x/net v0.4.0
golang.org/x/oauth2 v0.2.0
golang.org/x/sync v0.1.0
golang.org/x/sys v0.2.0
golang.org/x/text v0.4.0
golang.org/x/sys v0.3.0
golang.org/x/text v0.5.0
golang.org/x/time v0.2.0
google.golang.org/api v0.103.0
gopkg.in/yaml.v2 v2.4.0
@@ -144,5 +144,5 @@ require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/pkg/xattr v0.4.9
golang.org/x/mobile v0.0.0-20221110043201-43a038452099
golang.org/x/term v0.2.0
golang.org/x/term v0.3.0
)