Skip to content

[23.0 backport] vendor: golang.org/x/net v0.7.0, golang.org/x/sys v0.5.0, golang.org/x/text v0.7.0#45056

Merged
neersighted merged 3 commits intomoby:23.0from
thaJeztah:23.0_backport_bump_golang_net
Feb 22, 2023
Merged

[23.0 backport] vendor: golang.org/x/net v0.7.0, golang.org/x/sys v0.5.0, golang.org/x/text v0.7.0#45056
neersighted merged 3 commits intomoby:23.0from
thaJeztah:23.0_backport_bump_golang_net

Conversation

@thaJeztah
Copy link
Copy Markdown
Member


vendor: golang.org/x/sys v0.5.0

full diff: golang/sys@v0.4.0...v0.5.0

vendor: golang.org/x/text v0.7.0

full diff: golang/text@v0.6.0...v0.7.0

vendor: golang.org/x/net v0.7.0

This addresses the same CVE as is patched in go1.19.6. From that announcement:

net/http: avoid quadratic complexity in HPACK decoding

A maliciously crafted HTTP/2 stream could cause excessive CPU consumption
in the HPACK decoder, sufficient to cause a denial of service from a small
number of small requests.

This issue is also fixed in golang.org/x/net/http2 v0.7.0, for users manually
configuring HTTP/2.

This is CVE-2022-41723 and Go issue https://go.dev/issue/57855.

full diff: golang/net@v0.5.0...v0.7.0

full diff: golang/sys@v0.4.0...v0.5.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a53b44a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: golang/text@v0.6.0...v0.7.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit c7de765)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This addresses the same CVE as is patched in go1.19.6. From that announcement:

> net/http: avoid quadratic complexity in HPACK decoding
>
> A maliciously crafted HTTP/2 stream could cause excessive CPU consumption
> in the HPACK decoder, sufficient to cause a denial of service from a small
> number of small requests.
>
> This issue is also fixed in golang.org/x/net/http2 v0.7.0, for users manually
> configuring HTTP/2.
>
> This is CVE-2022-41723 and Go issue https://go.dev/issue/57855.

full diff: golang/net@v0.5.0...v0.7.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a36286c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@neersighted neersighted merged commit ab7dd59 into moby:23.0 Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants