OCPBUGS-87930, OCPBUGS-87982: Bump protobufjs and shell-quote#16586
OCPBUGS-87930, OCPBUGS-87982: Bump protobufjs and shell-quote#16586matzew wants to merge 3 commits into
Conversation
Add yarn resolutions for protobufjs (7.5.6) and shell-quote (^1.8.4) to address arbitrary code execution via unsafe expression generation from crafted protobuf descriptors. Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
|
@matzew: This pull request references Jira Issue OCPBUGS-87933, 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. |
WalkthroughThe PR updates the ChangesDependency Resolution Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@frontend/package.json`:
- Line 339: Replace the caret range for the dependency "shell-quote" in
package.json with an exact version string (change "^1.8.4" to "1.8.4") and then
regenerate the lockfile (npm/yarn) so the exact resolved version is recorded;
also verify/update integrity/hash entries in package-lock.json or yarn.lock if
your package manager supports it to satisfy the supply-chain requirement.
- Around line 339-340: Update the protobufjs dependency in package.json from
"protobufjs": "7.5.6" to at least "7.5.8" (so it no longer falls into the
CVE-2026-45740 affected range), then regenerate the lockfile by running the
project's package manager install (npm install or yarn install) so
package-lock.json / yarn.lock is updated; verify package.json entry "protobufjs"
and the lockfile reflect 7.5.8+ and commit both changes.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: ca96afaa-245e-4225-a9f1-ca350ea1b0dd
⛔ Files ignored due to path filters (1)
frontend/yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (1)
frontend/package.json
|
/jira refresh |
|
@matzew: This pull request references Jira Issue OCPBUGS-87933, which is invalid:
Comment 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. |
|
@matzew: This pull request references Jira Issue OCPBUGS-87930, which is valid. 3 validation(s) were run on this bug
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. |
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
Address CodeRabbit review feedback: - protobufjs 7.5.6 still affected by CVE-2026-45740, bump to 7.5.8 - Pin shell-quote to exact version 1.8.4 (drop caret range) Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
|
@matzew: This pull request references Jira Issue OCPBUGS-87930, which is valid. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. This pull request references Jira Issue OCPBUGS-87982, which is valid. 3 validation(s) were run on this bug
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. |
|
@matzew: This pull request references Jira Issue OCPBUGS-87930, which is valid. 3 validation(s) were run on this bug
This pull request references Jira Issue OCPBUGS-87982, which is valid. 3 validation(s) were run on this bug
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. |
|
/cherry-pick release-4.22 |
|
@matzew: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
|
PR review tracking + Prowpy retest monitoring |
|
/retest e2e-playwright |
|
/test e2e-playwright |
1 similar comment
|
/test e2e-playwright |
|
@Leo6Leo: This PR has been marked as verified by 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. |
|
protobufjs 6→7 major version jump, but since it only affects Cypress test tooling (not production code) and CI passes, it's safe to merge so it should be fine imo |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Leo6Leo, logonoff, matzew The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
The e2e-playwright failure is not related to this PR at all |
|
/retest-required |
|
@matzew: The following test failed, say
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. |
Bump libraries