-
Notifications
You must be signed in to change notification settings - Fork 448
OCPBUGS-43633: fix(security): disable SELinuxUser execstack for stack protection #5301
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: main
Are you sure you want to change the base?
Conversation
Add kubelet-selinux-bools service to disable selinuxuser_execstack boolean, preventing potential stack-based code execution attacks. This enhances security by ensuring users cannot execute code on the stack through SELinux policies. Fixes: OCPBUGS-43633 Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
@jparrill: This pull request references Jira Issue OCPBUGS-43633, 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: jparrill 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 |
/jira refresh |
@jparrill: This pull request references Jira Issue OCPBUGS-43633, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
/retest |
@jparrill: The following tests failed, say
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. |
- What I did
Add new
kubelet-selinux-bools
service to disableselinuxuser_execstack
at node level- How to verify it
Once deploy a new OCP Cluster, check the booleans at the node level following this steps:
That boolean should be
(off, off)
- Description for the changelog
Add kubelet-selinux-bools service to disable selinuxuser_execstack boolean, preventing potential stack-based code execution attacks. This enhances security by ensuring users cannot execute code on the stack through SELinux policies.