-
Notifications
You must be signed in to change notification settings - Fork 147
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
Insecure use of /tmp #81
Comments
The PR#4 for this issue was merged, but this ticket remains open. Somebody wanna close it? |
For the record: This insecure use is captured in https://cwe.mitre.org/data/definitions/377.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way vim-anywhere uses
/tmp
is insecure. Malicious local user could create/tmp/vim-anywhere
, make it writable to everyone, and then read or tamper with other users' files in this directory. In the worst case, when a victim uses vim-anywhere to create a shell script to be pasted to shell, they could end up with arbitrary code execution.Please use
mktemp -d
for creating temporary directories.The text was updated successfully, but these errors were encountered: