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

[v4.4.1-crio] Bump ocicrypt and go-jose CVE-2024-28180 #22339

Conversation

TomSweeneyRedHat
Copy link
Member

Bump github.com/go-jose/go-jose to v3.0.0 and
github.com/containers/ocicrypt to v1.1.10

Addresses: CVE-2024-28180
https://issues.redhat.com/browse/OCPBUGS-30784

Does this PR introduce a user-facing change?

None

Copy link
Contributor

openshift-ci bot commented Apr 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: TomSweeneyRedHat

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 11, 2024
@TomSweeneyRedHat
Copy link
Member Author

@mheon do we push this through?

@mheon
Copy link
Member

mheon commented Apr 13, 2024

Let me add bloat_enabled and rerun CI, let's see if anything else passes.

@mheon mheon added the bloat_approved Approve a PR in which binary file size grows by over 50k label Apr 13, 2024
@TomSweeneyRedHat
Copy link
Member Author

@mheon, still not happy, but I think expectedly unhappy at this point.

@TomSweeneyRedHat TomSweeneyRedHat force-pushed the dev/tsweeney/cve-jose-v4.4.1-crio branch from 935e893 to 23998bb Compare April 18, 2024 20:39
@TomSweeneyRedHat
Copy link
Member Author

Add the v2.6.3 go-jose fix that I had missed in the first pass.

@TomSweeneyRedHat
Copy link
Member Author

@mheon suggestions on what's next on this?

@mheon
Copy link
Member

mheon commented Apr 26, 2024

The build test was just a flake. The other tests seem to fail consistently. I think we'll have to disable them for this branch.

@TomSweeneyRedHat
Copy link
Member Author

@mheon so do you want me to disable the tests or can we push this through to get the CVE tended to?

TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 8, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 14, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
TomSweeneyRedHat added a commit to TomSweeneyRedHat/podman that referenced this pull request May 15, 2024
DO NOT MERGE this.  I added a do nothing printf to force the
CI to run so I can see definitively which tests are not happy.

Once it's complete and the test show which aren't happy, I'll
create a new commit to turn off those tests in containers#22339

[NO NEW TESTS NEEDED]

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
Bump github.com/go-jose/go-jose to v3.0.0 and
github.com/containers/ocicrypt to v1.1.10

Addresses: CVE-2024-28180
https://issues.redhat.com/browse/OCPBUGS-30784

Also tailors the .cirrus.yml to turn off a number of tests.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
@TomSweeneyRedHat TomSweeneyRedHat force-pushed the dev/tsweeney/cve-jose-v4.4.1-crio branch from 23998bb to 05d0889 Compare May 15, 2024 12:31
@TomSweeneyRedHat
Copy link
Member Author

I've added the changes to .cirrus.yaml from #22649 to this PR. I originally just turned off the failing System and Integeration tests that were constantly failing. After doing so, the podman machine tests were hanging. As I don't believe we need podman machine testing for this version of Podman, I turned that off, too. Holler if that should be adjusted.

@TomSweeneyRedHat
Copy link
Member Author

Happy Green Test Buttons on this one.

@mheon
Copy link
Member

mheon commented May 15, 2024

A few integration tests survived; almost surprising. System tests in RHEL should validate those bits. LGTM

@Luap99
Copy link
Member

Luap99 commented May 16, 2024

Why do we have both a 4.4.1-rhel and a 4.4.1-crio branch? What is the difference, seems like duplicate work to vendor the same fixes into both all the time?

@Luap99
Copy link
Member

Luap99 commented May 16, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 16, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 6071a2b into containers:v4.4.1-crio May 16, 2024
36 of 37 checks passed
@TomSweeneyRedHat
Copy link
Member Author

@Luap99 Long ugly story very short, there was a particular newer version of c/storage needed by CRI-O that was not in the 4.4.1-the branch. I think there were a few other tweaks, too, but I don't recall. It was the best decision out of a couple of crappy possibilities.

@Luap99
Copy link
Member

Luap99 commented May 17, 2024

@Luap99 Long ugly story very short, there was a particular newer version of c/storage needed by CRI-O that was not in the 4.4.1-the branch. I think there were a few other tweaks, too, but I don't recall. It was the best decision out of a couple of crappy possibilities.

Ack, I was sure you didn't do it without a strong reason. I just hope we try to avoid such scenarios in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bloat_approved Approve a PR in which binary file size grows by over 50k lgtm Indicates that a PR is ready to be merged. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants