-
Notifications
You must be signed in to change notification settings - Fork 3k
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
/tmp/pip-build not secure #725
Comments
Can you check develop branch of pip I believe pull #516 would have fixed this. |
/tmp/pip-build is still used and can be abused by the way I posted above. I tried it just some minutes ago with current git branch develop. You can see it here, too: strace -f pip install --user foo 2> tmp/strace-pip.log |
to be explicit, for anyone coming to this, the main reason for a consistent build directory name, is for the |
addressed in pull #780 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Well known temporary file names like /tmp/pip-build are insecure.
eviluser@host:~$ ln -s /home/otheruser/some-directory /tmp/pip-build
otheruser@host:~$ pip install ....
--> pip writes in /home/otheruser/some-directory. The user "otheruser" does not know it.
I tried it with pip 1.2.1 and content was written to /home/otheruser/some-directory.
The text was updated successfully, but these errors were encountered: