OCPBUGS-59070: CVE-2025-53547 openshift4/ose-operator-sdk-rhel8: Helm Chart Code Execution [openshift-4.15.z]#437
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. DetailsIn 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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |
Signed-off-by: Trilok Geer <tgeer@redhat.com> Co-authored-by: Manish Pillai <manpilla@redhat.com>
afdb56e to
704f9ee
Compare
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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: DetailsIn 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 |
chiragkyal
left a comment
There was a problem hiding this comment.
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. DetailsInstructions 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 |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
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.