moby/.github/workflows
Paweł Gronowski 50bd133ad3
update to go1.21.9
go1.21.9 (released 2024-04-03) includes a security fix to the net/http
package, as well as bug fixes to the linker, and the go/types and
net/http packages. See the [Go 1.21.9 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved)
for more details.

These minor releases include 1 security fixes following the security policy:

- http2: close connections when receiving too many headers

Maintaining HPACK state requires that we parse and process all HEADERS
and CONTINUATION frames on a connection. When a request's headers exceed
MaxHeaderBytes, we don't allocate memory to store the excess headers but
we do parse them. This permits an attacker to cause an HTTP/2 endpoint
to read arbitrary amounts of header data, all associated with a request
which is going to be rejected. These headers can include Huffman-encoded
data which is significantly more expensive for the receiver to decode
than for an attacker to send.

Set a limit on the amount of excess header frames we will process before
closing a connection.

Thanks to Bartek Nowotarski (https://nowotarski.info/) for reporting this issue.

This is CVE-2023-45288 and Go issue https://go.dev/issue/65051.

View the release notes for more information:
https://go.dev/doc/devel/release#go1.22.2

- https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.21.8...go1.21.9

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 329d403e20)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-04-04 10:17:28 +02:00
..
.dco.yml gha: update to actions/github-script@v7 2024-02-01 12:33:12 +01:00
.test-prepare.yml gha: update to actions/github-script@v7 2024-02-01 12:33:12 +01:00
.test.yml update to go1.21.9 2024-04-04 10:17:28 +02:00
.windows.yml update to go1.21.9 2024-04-04 10:17:28 +02:00
bin-image.yml ci: update to docker/bake-action@v4 2024-02-01 12:33:42 +01:00
buildkit.yml update to go1.21.9 2024-04-04 10:17:28 +02:00
ci.yml ci: update to actions/download-artifact@v4 and actions/upload-artifact@v4 2024-02-01 12:33:42 +01:00
test.yml update to go1.21.9 2024-04-04 10:17:28 +02:00
windows-2019.yml ci: set codecov token 2024-03-01 10:38:53 +01:00
windows-2022.yml ci: set codecov token 2024-03-01 10:38:53 +01:00