-
Notifications
You must be signed in to change notification settings - Fork 41
OCPBUGS-59070: CVE-2025-53547 openshift4/ose-operator-sdk-rhel8: Helm Chart Code Execution [openshift-4.15.z] #437
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
base: release-4.15
Are you sure you want to change the base?
Conversation
|
@PillaiManish: This pull request references Jira Issue OCPBUGS-59070, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: PillaiManish The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
Signed-off-by: Trilok Geer <[email protected]> Co-authored-by: Manish Pillai <[email protected]>
afdb56e to
704f9ee
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/jira refresh |
|
@PillaiManish: This pull request references Jira Issue OCPBUGS-59070, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
|
@PillaiManish, I think there was some issue with the UTs. Did we modify the UTs to make the CI pass? If yes, what were the changes? |
Yes, there was some nil pointer for the dependencies --> while i try to download the dependencies, so I just removed one of the test case, testing with normal chart.lock one. |
Why it's so for 4.15.z and we don't see this happening for later versions? |
In the newer code: https://github.com/openshift/ocp-release-operator-sdk/blob/main/vendor/helm.sh/helm/v3/pkg/getter/ocigetter.go#L52-L57 But in the older version: https://github.com/openshift/ocp-release-operator-sdk/blob/release-4.15/vendor/helm.sh/helm/v3/pkg/getter/ocigetter.go#L40-L43 |
|
/lgtm |
@chiragkyal FYI |
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.
Thanks @PillaiManish for the explanation about the issue.
/cc @mytreya-rh
|
New changes are detected. LGTM label has been removed. |
|
@PillaiManish: all tests passed! 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. |
|
/hold |
|
@cursor review |
Description of the change:
Based on the analysis from GHSA-557j-xg8c-q2mm, the vulnerability in operator-sdk is found in the code path leveraging the downloader.Manager.Build() method from Helm SDK. The fix for the CVE is adopted in the recent Helm SDK version 3.18.4. The same helm version is not adopted in the present release-4.15, hence, the PR adds update in the operator-sdk layer to mitigate the vulnerability.
Manual backport of PR: #434 for openshift-4.15.