{"id":"GHSA-qrqq-9c63-xfrg","aliases":["RUSTSEC-2022-0043"],"url":"https://o3.security/vulnerability/GHSA-qrqq-9c63-xfrg","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.\n\nThis only impacts Windows. Linux and other unix likes are not impacted by this.\n\nSee [tower-http#204] for more details.\n\n[tower-http#204]: https://github.com/tower-rs/tower-http/pull/204\n","published":"2022-08-11T15:36:42Z","modified":"2023-11-08T04:22:23.525783Z","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-2022-0043.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:22:23.525783Z"}}