crates.io/hyper-staticfile: medium
hyper-staticfile's location header incorporates user input, allowing open redirect
Action: Upgrade hyper-staticfile to 0.9.4 or later.
cargo update -p hyper-staticfile --precise 0.9.4cargo update -p hyper-staticfile --precise 0.10.0-alpha.5Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.9.4 | - |
| 0.10.0-alpha.1 | 0.10.0-alpha.5 | - |
Fixed versions
| 0.9.4 | 0.10.0-alpha.5 |
Sources
- osv: GHSA-5wvv-q5fv-2388
- https://github.com/stephank/hyper-staticfile/commit/4db4afb811c553bc3d54a01a9985b9e6dfc5a115
- https://github.com/stephank/hyper-staticfile/commit/f12cadc6666c6f555d29725f5bc45da2103f24ea
- https://github.com/stephank/hyper-staticfile
- https://rustsec.org/advisories/RUSTSEC-2022-0072.html
published · modified · JSON