origin
origin copied to clipboard
OCPBUGS-42044: Minimize `git-clone` Privileges
As part of the mitigation for CVE-2024-45496, the git-clone container for builds was updated to run unprivileged and a minimal set of Linux capabilities enabled. This update ensures that we do not regress and elevate the permissions granted to the git-clone container in builds.
@adambkaplan: This pull request references Jira Issue OCPBUGS-42044, which is valid. The bug has been moved to the POST state.
3 validation(s) were run on this bug
- bug is open, matching expected state (open)
- bug target version (4.18.0) matches configured target version for branch (4.18.0)
- bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
Requesting review from QA contact: /cc @jitendar-singh
The bug has been updated to refer to the pull request using the external bug tracker.
In response to this:
As part of the mitigation for CVE-2024-45496, the
git-clonecontainer for builds was updated to run unprivileged and a minimal set of Linux capabilities enabled. This update ensures that we do not regress and elevate the permissions granted to thegit-clonecontainer in builds.
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 openshift-eng/jira-lifecycle-plugin repository.
/approve
/cherrypick release-4.17,release-4.16,release-4.15,release-4.14,release-4.13,release-4.12
@adambkaplan: once the present PR merges, I will cherry-pick it on top of release-4.17,release-4.16,release-4.15,release-4.14,release-4.13,release-4.12 in a new PR and assign it to you.
In response to this:
/cherrypick release-4.17,release-4.16,release-4.15,release-4.14,release-4.13,release-4.12
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-sigs/prow repository.
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: adambkaplan, deads2k, sayan-biswas
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~test/extended/builds/OWNERS~~ [deads2k,sayan-biswas]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/test e2e-gcp-ovn-builds
Note - this might need another re-test. The commit with the patch was not added to our public repo until this morning (after I pushed the test fix commit).
/retest
Test ran before the patches were made public.
/retest
Job Failure Risk Analysis for sha: 56e238bdbaa4256fa6f3e2c1e23eade8d398cbad
| Job Name | Failure Risk |
|---|---|
| pull-ci-openshift-origin-master-e2e-aws-ovn-single-node-upgrade | Medium [bz-kube-apiserver][invariant] alert/KubeAPIErrorBudgetBurn should not be at or above info This test has passed 89.89% of 178 runs on release 4.18 [Architecture:amd64 FeatureSet:default Installer:ipi Network:ovn NetworkStack:ipv4 Platform:aws SecurityMode:default Topology:single Upgrade:micro] in the last week. Open Bugs SNO error rate for alert/KubeAPIErrorBudgetBurn should not be at or above info alert/KubeAPIErrorBudgetBurn should not be at or above info alert/KubeAPIErrorBudgetBurn should not be at or above info |
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle rotten /remove-lifecycle stale
@adambkaplan: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| ci/prow/e2e-aws-ovn-single-node-upgrade | 56e238bdbaa4256fa6f3e2c1e23eade8d398cbad | link | false | /test e2e-aws-ovn-single-node-upgrade |
| ci/prow/e2e-gcp-ovn-builds | 56e238bdbaa4256fa6f3e2c1e23eade8d398cbad | link | true | /test e2e-gcp-ovn-builds |
| ci/prow/e2e-aws-ovn-ipsec-serial | 56e238bdbaa4256fa6f3e2c1e23eade8d398cbad | link | false | /test e2e-aws-ovn-ipsec-serial |
| ci/prow/e2e-vsphere-ovn | 56e238bdbaa4256fa6f3e2c1e23eade8d398cbad | link | true | /test e2e-vsphere-ovn |
| ci/prow/e2e-vsphere-ovn-upi | 56e238bdbaa4256fa6f3e2c1e23eade8d398cbad | link | true | /test e2e-vsphere-ovn-upi |
Full PR test history. Your PR dashboard.
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-sigs/prow repository. I understand the commands that are listed here.
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
/close
@openshift-bot: Closed this PR.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen. Mark the issue as fresh by commenting/remove-lifecycle rotten. Exclude this issue from closing again by commenting/lifecycle frozen./close
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-sigs/prow repository.
@adambkaplan: This pull request references Jira Issue OCPBUGS-42044. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state.
In response to this:
As part of the mitigation for CVE-2024-45496, the
git-clonecontainer for builds was updated to run unprivileged and a minimal set of Linux capabilities enabled. This update ensures that we do not regress and elevate the permissions granted to thegit-clonecontainer in builds.
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 openshift-eng/jira-lifecycle-plugin repository.