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

Accessing arbitrary files #35

Closed
jannik4 opened this issue Nov 29, 2022 · 1 comment · Fixed by #36
Closed

Accessing arbitrary files #35

jannik4 opened this issue Nov 29, 2022 · 1 comment · Fixed by #36

Comments

@jannik4
Copy link

jannik4 commented Nov 29, 2022

On windows it is possible to access arbitrary files from other drives than the server is started from.

For example, if the server is started from D:\..., you can get files from C: by requests like this: http://127.0.0.1/anypath/c:/windows/win.ini

This is the same bug as found here: tower-rs/tower-http#204

@stephank
Copy link
Owner

I released 0.9.2 and 1.0.0-alpha.2 fixing this. Looking into an advisory. Thanks for reporting!

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

Successfully merging a pull request may close this issue.

2 participants