disable http2 for metrics and webhooks by default by sadlerap · Pull Request #356 · servicebinding/runtime

@sadlerap

It appears that mitigating the recent http2 vulnerabilities (see
CVE-2023-44487 and CVE-2023-39325) requires [more than just a library
update to golang.org/x/net][1].  Until better mitigations have been
developed, disable http2 in both the metrics and webhooks servers.

[1]: kubernetes/kubernetes#121197

Signed-off-by: Andy Sadler <ansadler@redhat.com>

@sadlerap

Until better mitigations are in place, disable HTTP2 in all cases.
Don't leave an option in place to re-enable it.

Signed-off-by: Andy Sadler <ansadler@redhat.com>

@sadlerap

Signed-off-by: Andy Sadler <ansadler@redhat.com>