GHSA-8v4j-7jgf-5rg9
HIGHWarp vulnerable to Path Traversal via Improper validation of Windows paths
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.
- Published
- 14 Jan 2022
- Last modified
- 8 Nov 2023
- Weakness
- CWE-22
- Also known as
- RUSTSEC-2022-0082
- Sources
- OSVJSONOSV RUSTSEC-2022-0082JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | warp | < 0.3.3 | 0.3.3 |
| OSV | crates.io | warp | >= 0.0.0-0, < 0.3.3 | 0.3.3 |
References
- https://github.com/seanmonstar/warp/issues/937 · WEB, REPORT
- https://github.com/seanmonstar/warp/pull/997 · WEB
- https://github.com/seanmonstar/warp/commit/0074a0a3e98786509259bfe3821d3b3f094257aa · WEB
- https://github.com/seanmonstar/warp · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0082.html · WEB, ADVISORY
- https://crates.io/crates/warp · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jan 2023)