RUSTSEC-2022-0082

Source
https://rustsec.org/advisories/RUSTSEC-2022-0082
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0082.json
Aliases
Published
2022-01-14T12:00:00Z
Modified
2023-11-08T04:17:31.672424Z
Details

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.

References

Affected packages

crates.io / warp

Package

Name
warp

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.3

Ecosystem specific

{
    "affects": {
        "os": [
            "windows"
        ],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "file-disclosure"
    ]
}