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

Warn about command injection in open() #643

Merged
merged 2 commits into from
Apr 1, 2015
Merged

Conversation

presidentbeef
Copy link
Owner

since starting a file name with | actually opens a pipe to a command.

Also warn about file access on open (previously only warned on Kernel.open but not just open).

See http://sakurity.com/blog/2015/02/28/openuri.html for reference.

presidentbeef added a commit that referenced this pull request Apr 1, 2015
Warn about command injection in open()
@presidentbeef presidentbeef merged commit cacc248 into master Apr 1, 2015
Repository owner locked and limited conversation to collaborators Feb 16, 2016
@presidentbeef presidentbeef deleted the warn_on_bare_open branch July 22, 2016 19:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant