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

Patch k8s and disable http/2 by default to mitigate rapid reset CVE #60

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

michael-valdron
Copy link
Member

@michael-valdron michael-valdron commented Nov 15, 2023

Please specify the area for this PR

registry operator

What does does this PR do / why we need it:

PR changes include patching of the k8s dependencies, patch for kubebuilder, and disabling of http/2 by default with optional toggle to enable by choice. Changes match what was done for the application service operator redhat-appstudio/application-service#403.

Mitigates CVE-2023-44487

Which issue(s) this PR fixes:

Fixes #?

fixes devfile/api#1307

PR acceptance criteria:

  • Test Coverage
    • Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?
  • Gosec scans

Documentation

  • Does the registry operator documentation need to be updated with your changes?

How to test changes / Special notes to the reviewer:

Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b4ddb0d) 26.43% compared to head (4fe7e4d) 25.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   26.43%   25.30%   -1.14%     
==========================================
  Files          25       25              
  Lines        1415     1415              
==========================================
- Hits          374      358      -16     
- Misses       1020     1032      +12     
- Partials       21       25       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

openshift-ci bot commented Nov 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maysunfaisal, michael-valdron

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@michael-valdron michael-valdron merged commit 4e1fdc8 into devfile:main Nov 17, 2023
8 of 9 checks passed
thepetk pushed a commit to thepetk/devfile-registry-operator that referenced this pull request Aug 20, 2024
…evfile#60)

* patch dependencies

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* disable http/2 by default

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

* add instructions to enable http/2

Signed-off-by: Michael Valdron <mvaldron@redhat.com>

---------

Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants