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

RUSTSEC-2022-0082: Improper validation of Windows paths could lead to directory traversal attack #184

Open
github-actions bot opened this issue Mar 30, 2023 · 0 comments

Comments

@github-actions
Copy link

Improper validation of Windows paths could lead to directory traversal attack

Details
Package warp
Version 0.3.1
URL seanmonstar/warp#937
Date 2022-01-14
Patched versions >=0.3.3

Path resolution in warp::filters::fs::dir didn't correctly validate Windows paths
meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed
and respond with the contents of c:/windows/web/screen/img101.png. Thus users
could potentially read files anywhere on the filesystem.

This only impacts Windows. Linux and other unix likes are not impacted by this.

See advisory page for additional details.

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

0 participants