Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS04djRqLTdqZ2YtNXJnOc4AAxTg
Warp vulnerable to Path Traversal via Improper validation of Windows paths
Path resolution in warp::filters::fs::dir
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.
Permalink: https://github.com/advisories/GHSA-8v4j-7jgf-5rg9JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04djRqLTdqZ2YtNXJnOc4AAxTg
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 8 months ago
Updated: 6 months ago
Identifiers: GHSA-8v4j-7jgf-5rg9
References:
- https://github.com/seanmonstar/warp/issues/937
- https://rustsec.org/advisories/RUSTSEC-2022-0082.html
- https://github.com/seanmonstar/warp/pull/997
- https://github.com/seanmonstar/warp/commit/0074a0a3e98786509259bfe3821d3b3f094257aa
- https://github.com/advisories/GHSA-8v4j-7jgf-5rg9
Affected Packages
cargo:warp
Versions: < 0.3.3Fixed in: 0.3.3