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

Missing call to setgroups before setuid #2

Open
jayvdb opened this issue Aug 27, 2019 · 0 comments
Open

Missing call to setgroups before setuid #2

jayvdb opened this issue Aug 27, 2019 · 0 comments

Comments

@jayvdb
Copy link

jayvdb commented Aug 27, 2019

Repeat of jeroen/sys#24

Also

missing-call-to-chdir-with-chroot: This executable appears to call chroot without using chdir to change the current directory. This is likely an error and permits an attacker to break out of the chroot by using fchdir. While that's not always a security issue, this has to be checked.

If these functions are going to be kept in unix, it would be a good idea to provide wrappers for these functions recommended to be used with the existing functions.

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