Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump go version to 1.21.9 in go mod #32356

Closed
songy23 opened this issue Apr 12, 2024 · 4 comments
Closed

Bump go version to 1.21.9 in go mod #32356

songy23 opened this issue Apr 12, 2024 · 4 comments
Labels
chore needs triage New item requiring triage

Comments

@songy23
Copy link
Member

songy23 commented Apr 12, 2024

Component(s)

No response

Describe the issue you're reporting

#32160 bumps the go version to 1.21.9 in CI. This is a follow-up to bump the minimum supported Go version in go mods.

Go 1.21.9 fixed the following security vulnerability:

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.

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

Core counterpart: open-telemetry/opentelemetry-collector#9956

@songy23 songy23 added the needs triage New item requiring triage label Apr 12, 2024
@AkhigbeEromo
Copy link

Hello @songy23 , can i work on this?

@atoulme
Copy link
Contributor

atoulme commented Apr 16, 2024

In go.mod files? Where would we do that?

@crobert-1
Copy link
Member

Related PR: #32451
Related discussion on dependency whose go.mod version is resulting in this change: cilium/ebpf#1438

@songy23
Copy link
Member Author

songy23 commented Apr 19, 2024

Superseded by #32451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

4 participants