Skip to content

vendor: golang.org/x/net v0.4.0#7774

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
thaJeztah:bump_golang_net
Dec 8, 2022
Merged

vendor: golang.org/x/net v0.4.0#7774
AkihiroSuda merged 1 commit intocontainerd:mainfrom
thaJeztah:bump_golang_net

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

golang.org/x/net contains a fix for CVE-2022-41717, which was addressed in stdlib in go1.19.4 and go1.18.9;

net/http: limit canonical header cache by bytes, not entries

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 issue is also fixed in golang.org/x/net/http2 v0.4.0,
for users manually configuring HTTP/2.

full diff: golang/net@c630100...v0.4.0

other dependency updates (due to (circular) dependencies between them):

Signed-off-by: Sebastiaan van Stijn [email protected]

golang.org/x/net contains a fix for CVE-2022-41717, which was addressed
in stdlib in go1.19.4 and go1.18.9;

> net/http: limit canonical header cache by bytes, not entries
>
> 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 issue is also fixed in golang.org/x/net/http2 v0.4.0,
> for users manually configuring HTTP/2.

full diff: golang/net@c630100...v0.4.0

other dependency updates (due to (circular) dependencies between them):

- golang.org/x/sys v0.3.0: golang/sys@v0.2.0...v0.3.0
- golang.org/x/term v0.3.0: golang/term@v0.1.0...v0.3.0
- golang.org/x/text v0.5.0: golang/text@v0.4.0...v0.5.0

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 50da24c into containerd:main Dec 8, 2022
@thaJeztah thaJeztah deleted the bump_golang_net branch December 8, 2022 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants