-
Notifications
You must be signed in to change notification settings - Fork 42k
Expose DisableHTTP2 flag in SecureServingOptions #122176
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
Conversation
|
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Tue Dec 5 04:13:37 UTC 2023. |
|
Welcome @slashpai! |
|
Hi @slashpai. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
You and @enj should coordinate to only work in one PR |
Thank you. Didn't know another PR existed for same. |
|
/triage accepted |
|
@enj Would you be continuing with PR you already created for this? If not I can help 🙂 |
|
Since #116762 is closed now, I believe this PR can solely drive the effort forward. |
|
Hi @slashpai, I was wondering what is the status of this PR? Is there more to be done on it? Very interested as this could potentially solve this 'High' CVE. Thank you! |
|
I am looking for code review @dgrisonnet please take a look if you get a chance |
| fs.BoolVar(&s.DisableHTTP2, "disable-http2", s.DisableHTTP2, | ||
| "If true, HTTP2 will be disabled [default=false]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that Jordan's comment still applies here: https://github.com/kubernetes/kubernetes/pull/116762/files#r1261602446
Maybe you could go with something like disable-serving-http2 and try to improve the help message to make it clearer to the users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated please take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now
This is to mitigate CVE-2023-44487 until the Go standard library and golang.org/x/net are fully fixed. Signed-off-by: Jayapriya Pai <[email protected]>
fcdafd5 to
e2503e5
Compare
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 44730b32d902c1cc3d3cd9ca76452daaf03618a5 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, slashpai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/kind feature |
disable-http2-serving was added in kubernetes/kubernetes/pull/122176 Signed-off-by: Jayapriya Pai <[email protected]>
Installation kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.8.0/components.yaml Changes since v0.7.2 Improvements * Wire server run options to flags kubernetes-sigs#1560 kubernetes-sigs#1656 (@benluddy, @slashpai) * Bump Golang to v1.24.4 and to Kubernetes clients to v0.33.2 kubernetes-sigs#1662, kubernetes-sigs#1665 (@dgrisonnet,@yangjunmyfm192085,@slashpai) * This will help to include the `disable-http2-serving` flag added in SecureServingOptions (kubernetes/kubernetes#122176) for metrics-server * Bump Prometheus module to v0.304.2 kubernetes-sigs#1652, kubernetes-sigs#1675 (@slashpai , @dependabot) Tooling * Add support for specifying other container engines kubernetes-sigs#1649 (@slashpai)
This is to mitigate CVE-2023-44487
until the Go standard library and golang.org/x/net are fully fixed.
What type of PR is this?
What this PR does / why we need it:
Expose DisableHTTP2 flag in SecureServingOptions
This is to mitigate GHSA-qppj-fm5r-hxr3
until the Go standard library and golang.org/x/net
are fully fixed.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
This PR is created based on discussion in kubernetes-sigs/metrics-server#1364 (comment)
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
cc: @dgrisonnet