GHSA-8v4j-7jgf-5rg9
high
Warp vulnerable to Path Traversal via Improper validation of Windows paths
- Severity
- high rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2022-0082
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| warp (crates.io) | before 0.3.3, from 0.0.0-0 before 0.3.3 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-8v4j-7jgf-5rg9 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0082 changed 2023-11-08 | CC0-1.0 |