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

using relative path, allows access #46

Open
schoeppl opened this issue May 11, 2018 · 0 comments
Open

using relative path, allows access #46

schoeppl opened this issue May 11, 2018 · 0 comments

Comments

@schoeppl
Copy link

If one takes a relative path, the path protection does not work.
Using the given example:
Just change the file access to:
match File::open(&PathBuf::from("../../../../../bin/sh")) { ... }
will show this behavior.

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