-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Expose DisableHTTP2 flag in SecureServingOptions #122176
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. Instructions 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 |
dup of https://github.com/kubernetes/kubernetes/pull/116762/files 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 <janantha@redhat.com>
fcdafd5
to
e2503e5
Compare
/lgtm |
LGTM label has been added. Git 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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind feature |
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