{"id":"GHSA-7p7c-pvvx-2vx3","aliases":["RUSTSEC-2022-0069"],"url":"https://o3.security/vulnerability/GHSA-7p7c-pvvx-2vx3","summary":"hyper-staticfile's improper validation of Windows paths could lead to directory traversal attack","details":"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.\n\nThis only impacts Windows. Linux and other unix likes are not impacted by this.\n","published":"2022-12-05T22:03:46Z","modified":"2023-11-08T04:16:54.984322Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"hyper-staticfile","fixedVersion":"0.9.2"},{"ecosystem":"crates.io","name":"hyper-staticfile","fixedVersion":"0.10.0-alpha.2"}],"fix":{"url":"https://github.com/stephank/hyper-staticfile/pull/36","label":"stephank/hyper-staticfile#36"},"references":[{"type":"WEB","url":"https://github.com/stephank/hyper-staticfile/issues/35"},{"type":"WEB","url":"https://github.com/stephank/hyper-staticfile/pull/36"},{"type":"WEB","url":"https://github.com/stephank/hyper-staticfile/commit/1e40e31d64bc6b32e595d24074092dcf84410b2b"},{"type":"PACKAGE","url":"https://github.com/stephank/hyper-staticfile"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0069.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:16:54.984322Z"}}