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

Don't allow NIX_LD on setuid binaries #38

Open
Mic92 opened this issue Dec 31, 2022 · 0 comments
Open

Don't allow NIX_LD on setuid binaries #38

Mic92 opened this issue Dec 31, 2022 · 0 comments
Labels

Comments

@Mic92
Copy link
Owner

Mic92 commented Dec 31, 2022

In the unlikely event if someone has NIX_LD set and an setuid binary using /lib64/ld-linux-x86-64.so.2, an attacker might be able to diverge execution by pointing to a untrusted patched libc. This should never happen in normal usage of nixos.

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

No branches or pull requests

1 participant