Skip to content
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

ptrace_check doesn't verify user is root #153

Open
Et7f3 opened this issue Jun 4, 2024 · 0 comments
Open

ptrace_check doesn't verify user is root #153

Et7f3 opened this issue Jun 4, 2024 · 0 comments

Comments

@Et7f3
Copy link

Et7f3 commented Jun 4, 2024

Here whatever the value if uid is 0 (root) it is ok to do.

Can we have yama/ptrace_scope and selinux ? because this code check only one.

Quick workaround: sed -i 's/value == 1/value == 0/g' /usr/local/lib/python3.11/site-packages/pyrasite/main.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant