# hyper-staticfile (crates.io) CVEs

4 known CVEs (2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 0.10.1 (Jul 1, 2024): no advisory affects it
- Newest unaffected release: 0.10.1 (Jul 1, 2024), the latest release
- Downloads on affected versions: Not known: the downloads can't be split between affected and unaffected versions
- Releases: 31 since 0.1.0 (Aug 7, 2017)
- Registry: https://crates.io/crates/hyper-staticfile
- Releases read: Nov 16, 2026

## Version timeline

Affected versions per advisory, in version order:

- GHSA-5WVV-Q5FV-2388: 0.1.0 to 0.9.3 (0.9.4 is outside it); 0.10.0-alpha.1 to 0.10.0-alpha.4 (0.10.0-alpha.5 is outside it)
- RUSTSEC-2022-0072: 0.1.0 to 0.9.3 (0.9.4 is outside it); 0.10.0-alpha.1 to 0.10.0-alpha.4 (0.10.0-alpha.5 is outside it)
- GHSA-7P7C-PVVX-2VX3: 0.1.0 to 0.9.1 (0.9.2 is outside it); 0.10.0-alpha.1 (0.10.0-alpha.2 is outside it)
- RUSTSEC-2022-0069: 0.1.0 to 0.9.1 (0.9.2 is outside it); 0.10.0-alpha.1 (0.10.0-alpha.2 is outside it)

## Advisories (4)

### [GHSA-5WVV-Q5FV-2388](https://cve.now/GHSA-5WVV-Q5FV-2388): hyper-staticfile's location header incorporates user input, allowing open redirect

- Severity: Medium
- Published: Dec 30, 2022
- Affected: fixed in 0.9.4; from 0.10.0-alpha.1, fixed in 0.10.0-alpha.5.
- Fixed in 0.9.4 (released Dec 23, 2022, 7 days before disclosure) and 0.10.0-alpha.5 (released Dec 23, 2022, 7 days before disclosure).
- The latest release, 0.10.1, is not affected.

### [RUSTSEC-2022-0072](https://cve.now/RUSTSEC-2022-0072): Location header incorporates user input, allowing open redirect

- Severity: Unrated
- Published: Dec 23, 2022
- Affected: fixed in 0.9.4; from 0.10.0-0, fixed in 0.10.0-alpha.5.
- Fixed in 0.9.4 (released Dec 23, 2022, the day of disclosure) and 0.10.0-alpha.5 (released Dec 23, 2022, the day of disclosure).
- The latest release, 0.10.1, is not affected.

### [GHSA-7P7C-PVVX-2VX3](https://cve.now/GHSA-7P7C-PVVX-2VX3): hyper-staticfile's improper validation of Windows paths could lead to directory traversal attack

- Severity: Medium
- Published: Dec 5, 2022
- Affected: fixed in 0.9.2; from 0.10.0-alpha.1, fixed in 0.10.0-alpha.2.
- Fixed in 0.9.2 (released Nov 30, 2022, 5 days before disclosure) and 0.10.0-alpha.2 (released Nov 30, 2022, 5 days before disclosure).
- The latest release, 0.10.1, is not affected.

### [RUSTSEC-2022-0069](https://cve.now/RUSTSEC-2022-0069): Improper validation of Windows paths could lead to directory traversal attack

- Severity: Unrated
- Published: Nov 30, 2022
- Affected: fixed in 0.9.2; from 0.10.0-0, fixed in 0.10.0-alpha.2.
- Fixed in 0.9.2 (released Nov 30, 2022, the day of disclosure) and 0.10.0-alpha.2 (released Nov 30, 2022, the day of disclosure).
- The latest release, 0.10.1, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/hyper-staticfile
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
