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 #42

Open
lgbaldoni opened this issue Sep 16, 2018 · 2 comments
Open

Missing call to setgroups before setuid #42

lgbaldoni opened this issue Sep 16, 2018 · 2 comments

Comments

@lgbaldoni
Copy link

Another warning from rpmlint I thought of sharing:

tpmd.x86_64: W: missing-call-to-setgroups-before-setuid /usr/sbin/tpmd
This executable is calling setuid and setgid without setgroups or initgroups.
There is a high probability this means it didn't relinquish all groups, and
this would be a potential security issue to be fixed. Seek POS36-C on the web
for details about the problem.
@PeterHuewe
Copy link
Owner

Hi,
thanks for reporting - can you provide a patch?
That would be great.

@lgbaldoni
Copy link
Author

I've had a look at it, but unfortunately I'm not confident enough to meddle with security matters.

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

No branches or pull requests

2 participants