crates.io/hyper-staticfile: medium
hyper-staticfile's improper validation of Windows paths could lead to directory traversal attack
Action: Upgrade hyper-staticfile to 0.9.2 or later.
cargo update -p hyper-staticfile --precise 0.9.2cargo update -p hyper-staticfile --precise 0.10.0-alpha.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.9.2 | - |
| 0.10.0-alpha.1 | 0.10.0-alpha.2 | - |
Fixed versions
| 0.9.2 | 0.10.0-alpha.2 |
Sources
- osv: GHSA-7p7c-pvvx-2vx3
- https://github.com/stephank/hyper-staticfile/issues/35
- https://github.com/stephank/hyper-staticfile/pull/36
- https://github.com/stephank/hyper-staticfile/commit/1e40e31d64bc6b32e595d24074092dcf84410b2b
- https://github.com/stephank/hyper-staticfile
- https://rustsec.org/advisories/RUSTSEC-2022-0069.html
published · modified · JSON