{"id":"GHSA-wwh2-r387-g5rm","aliases":[],"url":"https://o3.security/vulnerability/GHSA-wwh2-r387-g5rm","summary":"tower-http's improper validation of Windows paths could lead to directory traversal attack","details":"`tower_http::services::fs::ServeDir` 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.","published":"2022-06-17T00:26:05Z","modified":"2023-06-13T22:06:25Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"tower-http","fixedVersion":"0.2.1"},{"ecosystem":"crates.io","name":"tower-http","fixedVersion":"0.1.3"}],"fix":{"url":"https://github.com/tower-rs/tower-http/pull/204","label":"tower-rs/tower-http#204"},"references":[{"type":"WEB","url":"https://github.com/tower-rs/tower-http/pull/204"},{"type":"PACKAGE","url":"https://github.com/tower-rs/tower-http"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0135.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-06-13T22:06:25Z"}}