GHSA-7p7c-pvvx-2vx3 – hyper-staticfile
Package
Manager: cargo
Name: hyper-staticfile
Vulnerable Version: >=0 <0.9.2 || =0.10.0-alpha.1 || >=0.10.0-alpha.1 <0.10.0-alpha.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
hyper-staticfile's improper validation of Windows paths could lead to directory traversal attack Path resolution in `hyper-staticfile` 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.
Metadata
Created: 2022-12-05T22:03:46Z
Modified: 2022-12-05T22:03:46Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-7p7c-pvvx-2vx3/GHSA-7p7c-pvvx-2vx3.json
CWE IDs: ["CWE-22"]
Alternative ID: N/A
Finding: F063
Auto approve: 1