containerd/contrib/fuzz
Sebastiaan van Stijn 13e6b2b686
update to go1.21.9, go1.22.2
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 for more details;
https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved

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: Sebastiaan van Stijn <github@gone.nl>
2024-04-22 19:43:32 +02:00
..
archive_fuzzer.go Move archive to pkg/archive 2024-01-17 09:54:18 -08:00
builtins_linux.go Move runtime to core/runtime 2024-01-17 09:58:04 -08:00
builtins_unix.go Move snapshots/native to plugins/snapshots/native 2024-01-17 09:53:42 -08:00
builtins_windows.go Move snapshots/windows to plugins/snapshots/windows 2024-01-17 09:54:00 -08:00
builtins.go Move nri packages to plugin and internal 2024-02-29 21:37:36 -08:00
containerd_import_fuzzer.go Move namespaces to pkg/namespaces 2024-01-17 09:55:39 -08:00
content_fuzzer.go Move images to core/images 2024-01-17 09:51:26 -08:00
cri_fuzzer.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
cri_server_fuzzer.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
daemon.go Move config version to version package 2024-02-14 21:09:44 -08:00
diff_fuzzer.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
exchange_fuzzer.go Move events to plugins and core 2024-02-27 22:09:20 -08:00
fuzz_FuzzImportIndex.dict Fuzzing: Instrument with new sanitizers 2022-09-15 23:59:13 +01:00
fuzz_FuzzImportIndex.options Fuzzing: Instrument with new sanitizers 2022-09-15 23:59:13 +01:00
fuzz_images.go Remove deprecated platforms package 2024-01-23 09:14:03 -08:00
metadata_fuzzer.go Move namespaces to pkg/namespaces 2024-01-17 09:55:39 -08:00
oss_fuzz_build.sh update to go1.21.9, go1.22.2 2024-04-22 19:43:32 +02:00
uuid_fuzzer.go Copy fuzzers from github.com/cncf/cncf-fuzzing 2022-07-06 15:21:48 +00:00