ci: Fix authorization logic in pull_request_target workflows - #1563
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
pull_request_target workflows
|
/cherry-pick release-1.6 |
|
@rm3l: 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. |
|
@rm3l: new pull request created: #1564 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. |
|
@rm3l: #1563 failed to apply on top of branch "release-1.6": 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. |
Description
Otherwise, they might be tricked into executing arbitrary code.
Which issue(s) does this PR fix or relate to
More details in https://boostsecurity.io/blog/weaponizing-dependabot-pwn-request-at-its-finest
PR acceptance criteria
How to test changes / Special notes to the reviewer
Summary by Sourcery
Fix authorization and checkout logic in pull_request_target workflows to prevent execution of arbitrary code
Bug Fixes: